#[repr(transparent)]pub struct CUmem_range_attribute_enum(pub c_uint);
Tuple Fields§
§0: c_uint
Implementations§
Source§impl CUmem_range_attribute_enum
impl CUmem_range_attribute_enum
Sourcepub const CU_MEM_RANGE_ATTRIBUTE_READ_MOSTLY: CUmem_range_attribute_enum
pub const CU_MEM_RANGE_ATTRIBUTE_READ_MOSTLY: CUmem_range_attribute_enum
< Whether the range will mostly be read and only occasionally be written to
Source§impl CUmem_range_attribute_enum
impl CUmem_range_attribute_enum
Sourcepub const CU_MEM_RANGE_ATTRIBUTE_PREFERRED_LOCATION: CUmem_range_attribute_enum
pub const CU_MEM_RANGE_ATTRIBUTE_PREFERRED_LOCATION: CUmem_range_attribute_enum
< The preferred location of the range
Source§impl CUmem_range_attribute_enum
impl CUmem_range_attribute_enum
Sourcepub const CU_MEM_RANGE_ATTRIBUTE_ACCESSED_BY: CUmem_range_attribute_enum
pub const CU_MEM_RANGE_ATTRIBUTE_ACCESSED_BY: CUmem_range_attribute_enum
< Memory range has ::CU_MEM_ADVISE_SET_ACCESSED_BY set for specified device
Source§impl CUmem_range_attribute_enum
impl CUmem_range_attribute_enum
Sourcepub const CU_MEM_RANGE_ATTRIBUTE_LAST_PREFETCH_LOCATION: CUmem_range_attribute_enum
pub const CU_MEM_RANGE_ATTRIBUTE_LAST_PREFETCH_LOCATION: CUmem_range_attribute_enum
< The last location to which the range was prefetched
Source§impl CUmem_range_attribute_enum
impl CUmem_range_attribute_enum
Sourcepub const CU_MEM_RANGE_ATTRIBUTE_PREFERRED_LOCATION_TYPE: CUmem_range_attribute_enum
pub const CU_MEM_RANGE_ATTRIBUTE_PREFERRED_LOCATION_TYPE: CUmem_range_attribute_enum
< The preferred location type of the range
Source§impl CUmem_range_attribute_enum
impl CUmem_range_attribute_enum
Sourcepub const CU_MEM_RANGE_ATTRIBUTE_PREFERRED_LOCATION_ID: CUmem_range_attribute_enum
pub const CU_MEM_RANGE_ATTRIBUTE_PREFERRED_LOCATION_ID: CUmem_range_attribute_enum
< The preferred location id of the range
Source§impl CUmem_range_attribute_enum
impl CUmem_range_attribute_enum
Sourcepub const CU_MEM_RANGE_ATTRIBUTE_LAST_PREFETCH_LOCATION_TYPE: CUmem_range_attribute_enum
pub const CU_MEM_RANGE_ATTRIBUTE_LAST_PREFETCH_LOCATION_TYPE: CUmem_range_attribute_enum
< The last location type to which the range was prefetched
Source§impl CUmem_range_attribute_enum
impl CUmem_range_attribute_enum
Sourcepub const CU_MEM_RANGE_ATTRIBUTE_LAST_PREFETCH_LOCATION_ID: CUmem_range_attribute_enum
pub const CU_MEM_RANGE_ATTRIBUTE_LAST_PREFETCH_LOCATION_ID: CUmem_range_attribute_enum
< The last location id to which the range was prefetched
Trait Implementations§
Source§impl Clone for CUmem_range_attribute_enum
impl Clone for CUmem_range_attribute_enum
Source§fn clone(&self) -> CUmem_range_attribute_enum
fn clone(&self) -> CUmem_range_attribute_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 CUmem_range_attribute_enum
impl Debug for CUmem_range_attribute_enum
Source§impl Hash for CUmem_range_attribute_enum
impl Hash for CUmem_range_attribute_enum
impl Copy for CUmem_range_attribute_enum
impl Eq for CUmem_range_attribute_enum
impl StructuralPartialEq for CUmem_range_attribute_enum
Auto Trait Implementations§
impl Freeze for CUmem_range_attribute_enum
impl RefUnwindSafe for CUmem_range_attribute_enum
impl Send for CUmem_range_attribute_enum
impl Sync for CUmem_range_attribute_enum
impl Unpin for CUmem_range_attribute_enum
impl UnwindSafe for CUmem_range_attribute_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