#[repr(i32)]pub enum CUgraphicsMapResourceFlags {
CU_GRAPHICS_MAP_RESOURCE_FLAGS_NONE = 0,
CU_GRAPHICS_MAP_RESOURCE_FLAGS_READ_ONLY = 1,
CU_GRAPHICS_MAP_RESOURCE_FLAGS_WRITE_DISCARD = 2,
}
Variants§
CU_GRAPHICS_MAP_RESOURCE_FLAGS_NONE = 0
CU_GRAPHICS_MAP_RESOURCE_FLAGS_READ_ONLY = 1
CU_GRAPHICS_MAP_RESOURCE_FLAGS_WRITE_DISCARD = 2
Trait Implementations§
Source§impl Clone for CUgraphicsMapResourceFlags_enum
impl Clone for CUgraphicsMapResourceFlags_enum
Source§fn clone(&self) -> CUgraphicsMapResourceFlags_enum
fn clone(&self) -> CUgraphicsMapResourceFlags_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 Ord for CUgraphicsMapResourceFlags_enum
impl Ord for CUgraphicsMapResourceFlags_enum
Source§fn cmp(&self, other: &CUgraphicsMapResourceFlags_enum) -> Ordering
fn cmp(&self, other: &CUgraphicsMapResourceFlags_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 for CUgraphicsMapResourceFlags_enum
impl PartialEq for CUgraphicsMapResourceFlags_enum
Source§fn eq(&self, other: &CUgraphicsMapResourceFlags_enum) -> bool
fn eq(&self, other: &CUgraphicsMapResourceFlags_enum) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for CUgraphicsMapResourceFlags_enum
impl PartialOrd for CUgraphicsMapResourceFlags_enum
impl Copy for CUgraphicsMapResourceFlags_enum
impl Eq for CUgraphicsMapResourceFlags_enum
impl StructuralPartialEq for CUgraphicsMapResourceFlags_enum
Auto Trait Implementations§
impl Freeze for CUgraphicsMapResourceFlags_enum
impl RefUnwindSafe for CUgraphicsMapResourceFlags_enum
impl Send for CUgraphicsMapResourceFlags_enum
impl Sync for CUgraphicsMapResourceFlags_enum
impl Unpin for CUgraphicsMapResourceFlags_enum
impl UnwindSafe for CUgraphicsMapResourceFlags_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