Enum CUmemorytype
#[repr(u32)]pub enum CUmemorytype {
CU_MEMORYTYPE_HOST = 1,
CU_MEMORYTYPE_DEVICE = 2,
CU_MEMORYTYPE_ARRAY = 3,
CU_MEMORYTYPE_UNIFIED = 4,
}Variants§
Trait Implementations§
§impl Clone for CUmemorytype_enum
impl Clone for CUmemorytype_enum
§fn clone(&self) -> CUmemorytype_enum
fn clone(&self) -> CUmemorytype_enum
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 more§impl Debug for CUmemorytype_enum
impl Debug for CUmemorytype_enum
§impl Hash for CUmemorytype_enum
impl Hash for CUmemorytype_enum
§impl Ord for CUmemorytype_enum
impl Ord for CUmemorytype_enum
§fn cmp(&self, other: &CUmemorytype_enum) -> Ordering
fn cmp(&self, other: &CUmemorytype_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
§impl PartialEq for CUmemorytype_enum
impl PartialEq for CUmemorytype_enum
§impl PartialOrd for CUmemorytype_enum
impl PartialOrd for CUmemorytype_enum
impl Copy for CUmemorytype_enum
impl Eq for CUmemorytype_enum
impl StructuralPartialEq for CUmemorytype_enum
Auto Trait Implementations§
impl Freeze for CUmemorytype_enum
impl RefUnwindSafe for CUmemorytype_enum
impl Send for CUmemorytype_enum
impl Sync for CUmemorytype_enum
impl Unpin for CUmemorytype_enum
impl UnsafeUnpin for CUmemorytype_enum
impl UnwindSafe for CUmemorytype_enum
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more