Enum cudarc::driver::sys::CUmemAllocationType_enum
source · #[repr(u32)]pub enum CUmemAllocationType_enum {
CU_MEM_ALLOCATION_TYPE_INVALID,
CU_MEM_ALLOCATION_TYPE_PINNED,
CU_MEM_ALLOCATION_TYPE_MAX,
}
Variants§
Trait Implementations§
source§impl Clone for CUmemAllocationType_enum
impl Clone for CUmemAllocationType_enum
source§fn clone(&self) -> CUmemAllocationType_enum
fn clone(&self) -> CUmemAllocationType_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 CUmemAllocationType_enum
impl Debug for CUmemAllocationType_enum
source§impl Hash for CUmemAllocationType_enum
impl Hash for CUmemAllocationType_enum
source§impl Ord for CUmemAllocationType_enum
impl Ord for CUmemAllocationType_enum
source§fn cmp(&self, other: &CUmemAllocationType_enum) -> Ordering
fn cmp(&self, other: &CUmemAllocationType_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<CUmemAllocationType_enum> for CUmemAllocationType_enum
impl PartialEq<CUmemAllocationType_enum> for CUmemAllocationType_enum
source§fn eq(&self, other: &CUmemAllocationType_enum) -> bool
fn eq(&self, other: &CUmemAllocationType_enum) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<CUmemAllocationType_enum> for CUmemAllocationType_enum
impl PartialOrd<CUmemAllocationType_enum> for CUmemAllocationType_enum
source§fn partial_cmp(&self, other: &CUmemAllocationType_enum) -> Option<Ordering>
fn partial_cmp(&self, other: &CUmemAllocationType_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 moreimpl Copy for CUmemAllocationType_enum
impl Eq for CUmemAllocationType_enum
impl StructuralEq for CUmemAllocationType_enum
impl StructuralPartialEq for CUmemAllocationType_enum
Auto Trait Implementations§
impl RefUnwindSafe for CUmemAllocationType_enum
impl Send for CUmemAllocationType_enum
impl Sync for CUmemAllocationType_enum
impl Unpin for CUmemAllocationType_enum
impl UnwindSafe for CUmemAllocationType_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