#[repr(transparent)]pub struct cudaGraphicsMapFlags(pub c_uint);
Expand description
CUDA graphics interop map flags
Tuple Fields§
§0: c_uint
Implementations§
Source§impl cudaGraphicsMapFlags
impl cudaGraphicsMapFlags
Sourcepub const cudaGraphicsMapFlagsNone: cudaGraphicsMapFlags
pub const cudaGraphicsMapFlagsNone: cudaGraphicsMapFlags
< Default; Assume resource can be read/written
Source§impl cudaGraphicsMapFlags
impl cudaGraphicsMapFlags
Sourcepub const cudaGraphicsMapFlagsReadOnly: cudaGraphicsMapFlags
pub const cudaGraphicsMapFlagsReadOnly: cudaGraphicsMapFlags
< CUDA will not write to this resource
Source§impl cudaGraphicsMapFlags
impl cudaGraphicsMapFlags
Sourcepub const cudaGraphicsMapFlagsWriteDiscard: cudaGraphicsMapFlags
pub const cudaGraphicsMapFlagsWriteDiscard: cudaGraphicsMapFlags
< CUDA will only write to and will not read from this resource
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 PartialEq for cudaGraphicsMapFlags
impl PartialEq 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