Random number generator engine
This is a wrapper for ArrayFire's native random number generator engine.
While sharing this object with other threads, there is no need to wrap this in an Arc object unless only one such object is required to exist. The reason being that ArrayFire's internal details that are pointed to by the RandoMEngine handle are appropriately reference counted in thread safe manner. However, if you need to modify RandomEngine object, then please do wrap the object using a Mutex or Read-Write lock.
impl RandomEngine
[src] impl<T> Any for T where
T: 'static + ?Sized,
[src] impl<T> Borrow<T> for T where
T: ?Sized,
[src] impl<T> BorrowMut<T> for T where
T: ?Sized,
[src] impl<T> From<T> for T
[src] pub fn from(t: T) -> T
[src]
Performs the conversion.
impl<T, U> Into<U> for T where
U: From<T>,
[src] pub fn into(self) -> U
[src]
Performs the conversion.
impl<T> ToOwned for T where
T: Clone,
[src] type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src] impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4