Enum rcudnn_sys::cudaGraphicsMapFlags [−][src]
#[repr(u32)]
#[non_exhaustive]
pub enum cudaGraphicsMapFlags {
cudaGraphicsMapFlagsNone,
cudaGraphicsMapFlagsReadOnly,
cudaGraphicsMapFlagsWriteDiscard,
}
Expand description
CUDA graphics interop map flags
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.
cudaGraphicsMapFlagsNone
< Default; Assume resource can be read/written
cudaGraphicsMapFlagsReadOnly
< CUDA will not write to this resource
cudaGraphicsMapFlagsWriteDiscard
< CUDA will only write to and will not read from this resource
Trait Implementations
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
Mutably borrows from an owned value. Read more