#[repr(u32)]pub enum CUmemorytype_enum {
CU_MEMORYTYPE_HOST = 1,
CU_MEMORYTYPE_DEVICE = 2,
CU_MEMORYTYPE_ARRAY = 3,
CU_MEMORYTYPE_UNIFIED = 4,
}Variants§
Trait Implementations§
Source§impl Clone for CUmemorytype_enum
impl Clone for CUmemorytype_enum
Source§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 moreSource§impl Debug for CUmemorytype_enum
impl Debug for CUmemorytype_enum
Source§impl Hash for CUmemorytype_enum
impl Hash for CUmemorytype_enum
Source§impl Ord for CUmemorytype_enum
impl Ord for CUmemorytype_enum
Source§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
Source§impl PartialEq for CUmemorytype_enum
impl PartialEq for CUmemorytype_enum
Source§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 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