#[repr(transparent)]pub struct CUmem_range_attribute_enum(pub c_uint);Expand description
Attribute queried for a managed-memory address range.
Tuple Fields§
§0: c_uintImplementations§
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.
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.
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 CUmem_advise_enum::CU_MEM_ADVISE_SET_ACCESSED_BY set for specified device.
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.
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.
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.
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.
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
impl Copy for CUmem_range_attribute_enum
Source§impl Debug for CUmem_range_attribute_enum
impl Debug for CUmem_range_attribute_enum
impl Eq for CUmem_range_attribute_enum
Source§impl Hash for CUmem_range_attribute_enum
impl Hash for CUmem_range_attribute_enum
Source§impl Ord for CUmem_range_attribute_enum
impl Ord for CUmem_range_attribute_enum
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for CUmem_range_attribute_enum
impl PartialOrd for CUmem_range_attribute_enum
impl StructuralPartialEq for CUmem_range_attribute_enum
Auto Trait Implementations§
impl Forget for CUmem_range_attribute_enum
impl Freeze for CUmem_range_attribute_enum
impl Move 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 UnsafeUnpin 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