#[repr(C)]pub struct CUmemAllocationPropFlags {
pub compression_type: c_uchar,
pub gpu_direct_rdma_capable: c_uchar,
pub usage: c_ushort,
pub reserved: [c_uchar; 4],
}Expand description
Inline flag block inside CUmemAllocationProp (8 bytes).
Fields§
§compression_type: c_uchar§gpu_direct_rdma_capable: c_uchar§usage: c_ushort§reserved: [c_uchar; 4]Trait Implementations§
Source§impl Clone for CUmemAllocationPropFlags
impl Clone for CUmemAllocationPropFlags
Source§fn clone(&self) -> CUmemAllocationPropFlags
fn clone(&self) -> CUmemAllocationPropFlags
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CUmemAllocationPropFlags
impl Debug for CUmemAllocationPropFlags
Source§impl Default for CUmemAllocationPropFlags
impl Default for CUmemAllocationPropFlags
Source§fn default() -> CUmemAllocationPropFlags
fn default() -> CUmemAllocationPropFlags
Returns the “default value” for a type. Read more
impl Copy for CUmemAllocationPropFlags
Auto Trait Implementations§
impl Freeze for CUmemAllocationPropFlags
impl RefUnwindSafe for CUmemAllocationPropFlags
impl Send for CUmemAllocationPropFlags
impl Sync for CUmemAllocationPropFlags
impl Unpin for CUmemAllocationPropFlags
impl UnsafeUnpin for CUmemAllocationPropFlags
impl UnwindSafe for CUmemAllocationPropFlags
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