Enum cudarc::driver::sys::CUmemLocationType_enum
source · #[repr(u32)]
pub enum CUmemLocationType_enum {
CU_MEM_LOCATION_TYPE_INVALID,
CU_MEM_LOCATION_TYPE_DEVICE,
CU_MEM_LOCATION_TYPE_MAX,
}Variants§
Trait Implementations§
source§impl Clone for CUmemLocationType_enum
impl Clone for CUmemLocationType_enum
source§fn clone(&self) -> CUmemLocationType_enum
fn clone(&self) -> CUmemLocationType_enum
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 CUmemLocationType_enum
impl Debug for CUmemLocationType_enum
source§impl Hash for CUmemLocationType_enum
impl Hash for CUmemLocationType_enum
source§impl Ord for CUmemLocationType_enum
impl Ord for CUmemLocationType_enum
source§fn cmp(&self, other: &CUmemLocationType_enum) -> Ordering
fn cmp(&self, other: &CUmemLocationType_enum) -> 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<CUmemLocationType_enum> for CUmemLocationType_enum
impl PartialEq<CUmemLocationType_enum> for CUmemLocationType_enum
source§fn eq(&self, other: &CUmemLocationType_enum) -> bool
fn eq(&self, other: &CUmemLocationType_enum) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<CUmemLocationType_enum> for CUmemLocationType_enum
impl PartialOrd<CUmemLocationType_enum> for CUmemLocationType_enum
source§fn partial_cmp(&self, other: &CUmemLocationType_enum) -> Option<Ordering>
fn partial_cmp(&self, other: &CUmemLocationType_enum) -> 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 more