Enum cudarc::driver::sys::CUgraphicsRegisterFlags_enum
source · #[repr(u32)]pub enum CUgraphicsRegisterFlags_enum {
CU_GRAPHICS_REGISTER_FLAGS_NONE,
CU_GRAPHICS_REGISTER_FLAGS_READ_ONLY,
CU_GRAPHICS_REGISTER_FLAGS_WRITE_DISCARD,
CU_GRAPHICS_REGISTER_FLAGS_SURFACE_LDST,
CU_GRAPHICS_REGISTER_FLAGS_TEXTURE_GATHER,
}
Variants§
CU_GRAPHICS_REGISTER_FLAGS_NONE
CU_GRAPHICS_REGISTER_FLAGS_READ_ONLY
CU_GRAPHICS_REGISTER_FLAGS_WRITE_DISCARD
CU_GRAPHICS_REGISTER_FLAGS_SURFACE_LDST
CU_GRAPHICS_REGISTER_FLAGS_TEXTURE_GATHER
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 Ord for CUgraphicsRegisterFlags_enum
impl Ord for CUgraphicsRegisterFlags_enum
source§fn cmp(&self, other: &CUgraphicsRegisterFlags_enum) -> Ordering
fn cmp(&self, other: &CUgraphicsRegisterFlags_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<CUgraphicsRegisterFlags_enum> for CUgraphicsRegisterFlags_enum
impl PartialEq<CUgraphicsRegisterFlags_enum> 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 ==
.source§impl PartialOrd<CUgraphicsRegisterFlags_enum> for CUgraphicsRegisterFlags_enum
impl PartialOrd<CUgraphicsRegisterFlags_enum> for CUgraphicsRegisterFlags_enum
source§fn partial_cmp(&self, other: &CUgraphicsRegisterFlags_enum) -> Option<Ordering>
fn partial_cmp(&self, other: &CUgraphicsRegisterFlags_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 CUgraphicsRegisterFlags_enum
impl Eq for CUgraphicsRegisterFlags_enum
impl StructuralEq for CUgraphicsRegisterFlags_enum
impl StructuralPartialEq for CUgraphicsRegisterFlags_enum
Auto Trait Implementations§
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