Enum cudarc::curand::sys::curandMethod
source · #[repr(u32)]pub enum curandMethod {
Show 14 variants
CURAND_CHOOSE_BEST,
CURAND_ITR,
CURAND_KNUTH,
CURAND_HITR,
CURAND_M1,
CURAND_M2,
CURAND_BINARY_SEARCH,
CURAND_DISCRETE_GAUSS,
CURAND_REJECTION,
CURAND_DEVICE_API,
CURAND_FAST_REJECTION,
CURAND_3RD,
CURAND_DEFINITION,
CURAND_POISSON,
}
Variants§
CURAND_CHOOSE_BEST
CURAND_ITR
CURAND_KNUTH
CURAND_HITR
CURAND_M1
CURAND_M2
CURAND_BINARY_SEARCH
CURAND_DISCRETE_GAUSS
CURAND_REJECTION
CURAND_DEVICE_API
CURAND_FAST_REJECTION
CURAND_3RD
CURAND_DEFINITION
CURAND_POISSON
Trait Implementations§
source§impl Clone for curandMethod
impl Clone for curandMethod
source§fn clone(&self) -> curandMethod
fn clone(&self) -> curandMethod
Returns a copy 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<curandMethod> for curandMethod
impl PartialEq<curandMethod> for curandMethod
source§fn eq(&self, other: &curandMethod) -> bool
fn eq(&self, other: &curandMethod) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<curandMethod> for curandMethod
impl PartialOrd<curandMethod> for curandMethod
source§fn partial_cmp(&self, other: &curandMethod) -> Option<Ordering>
fn partial_cmp(&self, other: &curandMethod) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for curandMethod
impl Eq for curandMethod
impl StructuralEq for curandMethod
impl StructuralPartialEq for curandMethod
Auto Trait Implementations§
impl RefUnwindSafe for curandMethod
impl Send for curandMethod
impl Sync for curandMethod
impl Unpin 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