#[repr(transparent)]pub struct CUgraphicsMapResourceFlags_enum(pub c_uint);Expand description
Flags for mapping and unmapping interop resources
Tuple Fields§
§0: c_uintImplementations§
Source§impl CUgraphicsMapResourceFlags_enum
impl CUgraphicsMapResourceFlags_enum
Sourcepub const CU_GRAPHICS_MAP_RESOURCE_FLAGS_NONE: CUgraphicsMapResourceFlags_enum
pub const CU_GRAPHICS_MAP_RESOURCE_FLAGS_NONE: CUgraphicsMapResourceFlags_enum
Specifies no hints about how this resource will be used. It is therefore assumed that this resource will be read from and written to by CUDA kernels. This is the default value.
Sourcepub const CU_GRAPHICS_MAP_RESOURCE_FLAGS_READ_ONLY: CUgraphicsMapResourceFlags_enum
pub const CU_GRAPHICS_MAP_RESOURCE_FLAGS_READ_ONLY: CUgraphicsMapResourceFlags_enum
Hints that CUDA will only read the mapped resource.
Sourcepub const CU_GRAPHICS_MAP_RESOURCE_FLAGS_WRITE_DISCARD: CUgraphicsMapResourceFlags_enum
pub const CU_GRAPHICS_MAP_RESOURCE_FLAGS_WRITE_DISCARD: CUgraphicsMapResourceFlags_enum
Hints that CUDA will overwrite the mapped resource without reading its previous contents.
Trait Implementations§
impl Copy for CUgraphicsMapResourceFlags_enum
impl Eq for CUgraphicsMapResourceFlags_enum
Source§impl Ord for CUgraphicsMapResourceFlags_enum
impl Ord for CUgraphicsMapResourceFlags_enum
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for CUgraphicsMapResourceFlags_enum
impl PartialOrd for CUgraphicsMapResourceFlags_enum
impl StructuralPartialEq for CUgraphicsMapResourceFlags_enum
Auto Trait Implementations§
impl Forget for CUgraphicsMapResourceFlags_enum
impl Freeze for CUgraphicsMapResourceFlags_enum
impl Move for CUgraphicsMapResourceFlags_enum
impl RefUnwindSafe for CUgraphicsMapResourceFlags_enum
impl Send for CUgraphicsMapResourceFlags_enum
impl Sync for CUgraphicsMapResourceFlags_enum
impl Unpin for CUgraphicsMapResourceFlags_enum
impl UnsafeUnpin 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