#[non_exhaustive]#[repr(u32)]pub enum CUgraphicsRegisterFlags_enum {
CU_GRAPHICS_REGISTER_FLAGS_NONE = 0,
CU_GRAPHICS_REGISTER_FLAGS_READ_ONLY = 1,
CU_GRAPHICS_REGISTER_FLAGS_WRITE_DISCARD = 2,
CU_GRAPHICS_REGISTER_FLAGS_SURFACE_LDST = 4,
CU_GRAPHICS_REGISTER_FLAGS_TEXTURE_GATHER = 8,
}Expand description
Flags to register a graphics resource
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_GRAPHICS_REGISTER_FLAGS_NONE = 0
CU_GRAPHICS_REGISTER_FLAGS_READ_ONLY = 1
CU_GRAPHICS_REGISTER_FLAGS_WRITE_DISCARD = 2
CU_GRAPHICS_REGISTER_FLAGS_SURFACE_LDST = 4
CU_GRAPHICS_REGISTER_FLAGS_TEXTURE_GATHER = 8
Trait Implementations§
source§impl Clone for CUgraphicsRegisterFlags_enum
impl Clone for CUgraphicsRegisterFlags_enum
source§fn clone(&self) -> CUgraphicsRegisterFlags_enum
fn clone(&self) -> CUgraphicsRegisterFlags_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 CUgraphicsRegisterFlags_enum
impl Debug for CUgraphicsRegisterFlags_enum
source§impl Hash for CUgraphicsRegisterFlags_enum
impl Hash for CUgraphicsRegisterFlags_enum
source§impl PartialEq for CUgraphicsRegisterFlags_enum
impl PartialEq for CUgraphicsRegisterFlags_enum
source§fn eq(&self, other: &CUgraphicsRegisterFlags_enum) -> bool
fn eq(&self, other: &CUgraphicsRegisterFlags_enum) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for CUgraphicsRegisterFlags_enum
impl Eq for CUgraphicsRegisterFlags_enum
impl StructuralPartialEq for CUgraphicsRegisterFlags_enum
Auto Trait Implementations§
impl Freeze for CUgraphicsRegisterFlags_enum
impl RefUnwindSafe for CUgraphicsRegisterFlags_enum
impl Send for CUgraphicsRegisterFlags_enum
impl Sync for CUgraphicsRegisterFlags_enum
impl Unpin for CUgraphicsRegisterFlags_enum
impl UnwindSafe for CUgraphicsRegisterFlags_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