Enum rcudnn::cudaGraphicsMapFlags
source · #[non_exhaustive]#[repr(u32)]pub enum cudaGraphicsMapFlags {
cudaGraphicsMapFlagsNone = 0,
cudaGraphicsMapFlagsReadOnly = 1,
cudaGraphicsMapFlagsWriteDiscard = 2,
}
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.
Trait Implementations§
source§impl Clone for cudaGraphicsMapFlags
impl Clone for cudaGraphicsMapFlags
source§fn clone(&self) -> cudaGraphicsMapFlags
fn clone(&self) -> cudaGraphicsMapFlags
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 cudaGraphicsMapFlags
impl Debug for cudaGraphicsMapFlags
source§impl Hash for cudaGraphicsMapFlags
impl Hash for cudaGraphicsMapFlags
source§impl PartialEq for cudaGraphicsMapFlags
impl PartialEq for cudaGraphicsMapFlags
source§fn eq(&self, other: &cudaGraphicsMapFlags) -> bool
fn eq(&self, other: &cudaGraphicsMapFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for cudaGraphicsMapFlags
impl Eq for cudaGraphicsMapFlags
impl StructuralPartialEq for cudaGraphicsMapFlags
Auto Trait Implementations§
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