#[repr(u32)]pub enum cudaGraphicsMapFlags {
cudaGraphicsMapFlagsNone = 0,
cudaGraphicsMapFlagsReadOnly = 1,
cudaGraphicsMapFlagsWriteDiscard = 2,
}
Variants§
Trait Implementations§
Source§impl Clone for cudaGraphicsMapFlags
impl Clone for cudaGraphicsMapFlags
Source§fn clone(&self) -> cudaGraphicsMapFlags
fn clone(&self) -> cudaGraphicsMapFlags
Returns a duplicate 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 cudaGraphicsMapFlags
impl Debug for cudaGraphicsMapFlags
Source§impl Hash for cudaGraphicsMapFlags
impl Hash for cudaGraphicsMapFlags
Source§impl Ord for cudaGraphicsMapFlags
impl Ord for cudaGraphicsMapFlags
Source§fn cmp(&self, other: &cudaGraphicsMapFlags) -> Ordering
fn cmp(&self, other: &cudaGraphicsMapFlags) -> 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 cudaGraphicsMapFlags
impl PartialEq for cudaGraphicsMapFlags
Source§impl PartialOrd for cudaGraphicsMapFlags
impl PartialOrd for cudaGraphicsMapFlags
impl Copy for cudaGraphicsMapFlags
impl Eq for cudaGraphicsMapFlags
impl StructuralPartialEq for cudaGraphicsMapFlags
Auto Trait Implementations§
impl Freeze for cudaGraphicsMapFlags
impl RefUnwindSafe for cudaGraphicsMapFlags
impl Send for cudaGraphicsMapFlags
impl Sync for cudaGraphicsMapFlags
impl Unpin for cudaGraphicsMapFlags
impl UnwindSafe for cudaGraphicsMapFlags
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