#[repr(transparent)]pub struct CUgraphicsRegisterFlags_enum(pub c_uint);Expand description
Flags to register a graphics resource.
Tuple Fields§
§0: c_uintImplementations§
Source§impl CUgraphicsRegisterFlags_enum
impl CUgraphicsRegisterFlags_enum
Sourcepub const CU_GRAPHICS_REGISTER_FLAGS_NONE: CUgraphicsRegisterFlags_enum
pub const CU_GRAPHICS_REGISTER_FLAGS_NONE: CUgraphicsRegisterFlags_enum
Default registration behavior without additional access hints.
Sourcepub const CU_GRAPHICS_REGISTER_FLAGS_READ_ONLY: CUgraphicsRegisterFlags_enum
pub const CU_GRAPHICS_REGISTER_FLAGS_READ_ONLY: CUgraphicsRegisterFlags_enum
Hints that CUDA will only read the registered resource.
Sourcepub const CU_GRAPHICS_REGISTER_FLAGS_WRITE_DISCARD: CUgraphicsRegisterFlags_enum
pub const CU_GRAPHICS_REGISTER_FLAGS_WRITE_DISCARD: CUgraphicsRegisterFlags_enum
Hints that CUDA will overwrite the registered resource without reading its previous contents.
Sourcepub const CU_GRAPHICS_REGISTER_FLAGS_SURFACE_LDST: CUgraphicsRegisterFlags_enum
pub const CU_GRAPHICS_REGISTER_FLAGS_SURFACE_LDST: CUgraphicsRegisterFlags_enum
Allows binding the registered image to a CUDA surface for load and store operations.
Sourcepub const CU_GRAPHICS_REGISTER_FLAGS_TEXTURE_GATHER: CUgraphicsRegisterFlags_enum
pub const CU_GRAPHICS_REGISTER_FLAGS_TEXTURE_GATHER: CUgraphicsRegisterFlags_enum
Allows texture-gather operations on the registered image.
Trait Implementations§
Source§impl Clone for CUgraphicsRegisterFlags_enum
impl Clone for CUgraphicsRegisterFlags_enum
impl Copy for CUgraphicsRegisterFlags_enum
Source§impl Debug for CUgraphicsRegisterFlags_enum
impl Debug for CUgraphicsRegisterFlags_enum
impl Eq for CUgraphicsRegisterFlags_enum
Source§impl Hash for CUgraphicsRegisterFlags_enum
impl Hash for CUgraphicsRegisterFlags_enum
Source§impl Ord for CUgraphicsRegisterFlags_enum
impl Ord for CUgraphicsRegisterFlags_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 CUgraphicsRegisterFlags_enum
impl PartialOrd for CUgraphicsRegisterFlags_enum
impl StructuralPartialEq for CUgraphicsRegisterFlags_enum
Auto Trait Implementations§
impl Forget for CUgraphicsRegisterFlags_enum
impl Freeze for CUgraphicsRegisterFlags_enum
impl Move for CUgraphicsRegisterFlags_enum
impl RefUnwindSafe for CUgraphicsRegisterFlags_enum
impl Send for CUgraphicsRegisterFlags_enum
impl Sync for CUgraphicsRegisterFlags_enum
impl Unpin for CUgraphicsRegisterFlags_enum
impl UnsafeUnpin for CUgraphicsRegisterFlags_enum
impl UnwindSafe for CUgraphicsRegisterFlags_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