#[non_exhaustive]#[repr(u32)]pub enum CUaccessProperty_enum {
CU_ACCESS_PROPERTY_NORMAL = 0,
CU_ACCESS_PROPERTY_STREAMING = 1,
CU_ACCESS_PROPERTY_PERSISTING = 2,
}Expand description
Specifies performance hint with ::CUaccessPolicyWindow for hitProp and missProp members.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
CU_ACCESS_PROPERTY_NORMAL = 0
< Normal cache persistence.
CU_ACCESS_PROPERTY_STREAMING = 1
< Streaming access is less likely to persit from cache.
CU_ACCESS_PROPERTY_PERSISTING = 2
< Persisting access is more likely to persist in cache.
Trait Implementations§
source§impl Clone for CUaccessProperty_enum
impl Clone for CUaccessProperty_enum
source§fn clone(&self) -> CUaccessProperty_enum
fn clone(&self) -> CUaccessProperty_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 CUaccessProperty_enum
impl Debug for CUaccessProperty_enum
source§impl Hash for CUaccessProperty_enum
impl Hash for CUaccessProperty_enum
source§impl PartialEq for CUaccessProperty_enum
impl PartialEq for CUaccessProperty_enum
source§fn eq(&self, other: &CUaccessProperty_enum) -> bool
fn eq(&self, other: &CUaccessProperty_enum) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for CUaccessProperty_enum
impl Eq for CUaccessProperty_enum
impl StructuralPartialEq for CUaccessProperty_enum
Auto Trait Implementations§
impl Freeze for CUaccessProperty_enum
impl RefUnwindSafe for CUaccessProperty_enum
impl Send for CUaccessProperty_enum
impl Sync for CUaccessProperty_enum
impl Unpin for CUaccessProperty_enum
impl UnwindSafe for CUaccessProperty_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