#[repr(u32)]pub enum curandMethod {
Show 14 variants
CURAND_CHOOSE_BEST = 0,
CURAND_ITR = 1,
CURAND_KNUTH = 2,
CURAND_HITR = 3,
CURAND_M1 = 4,
CURAND_M2 = 5,
CURAND_BINARY_SEARCH = 6,
CURAND_DISCRETE_GAUSS = 7,
CURAND_REJECTION = 8,
CURAND_DEVICE_API = 9,
CURAND_FAST_REJECTION = 10,
CURAND_3RD = 11,
CURAND_DEFINITION = 12,
CURAND_POISSON = 13,
}Variants§
CURAND_CHOOSE_BEST = 0
CURAND_ITR = 1
CURAND_KNUTH = 2
CURAND_HITR = 3
CURAND_M1 = 4
CURAND_M2 = 5
CURAND_BINARY_SEARCH = 6
CURAND_DISCRETE_GAUSS = 7
CURAND_REJECTION = 8
CURAND_DEVICE_API = 9
CURAND_FAST_REJECTION = 10
CURAND_3RD = 11
CURAND_DEFINITION = 12
CURAND_POISSON = 13
Trait Implementations§
Source§impl Clone for curandMethod
impl Clone for curandMethod
Source§fn clone(&self) -> curandMethod
fn clone(&self) -> curandMethod
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for curandMethod
impl Debug for curandMethod
Source§impl Hash for curandMethod
impl Hash for curandMethod
Source§impl Ord for curandMethod
impl Ord for curandMethod
Source§fn cmp(&self, other: &curandMethod) -> Ordering
fn cmp(&self, other: &curandMethod) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for curandMethod
impl PartialEq for curandMethod
Source§impl PartialOrd for curandMethod
impl PartialOrd for curandMethod
impl Copy for curandMethod
impl Eq for curandMethod
impl StructuralPartialEq for curandMethod
Auto Trait Implementations§
impl Freeze for curandMethod
impl RefUnwindSafe for curandMethod
impl Send for curandMethod
impl Sync for curandMethod
impl Unpin for curandMethod
impl UnsafeUnpin for curandMethod
impl UnwindSafe for curandMethod
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more