#[repr(C)]pub struct CUmemAllocationProp {
pub type_: c_int,
pub requested_handle_types: c_int,
pub location: CUmemLocation,
pub win32_handle_meta_data: *mut c_void,
pub alloc_flags: CUmemAllocationPropFlags,
}Expand description
CUmemAllocationProp — passed to cuMemCreate to describe what kind
of backing (type, location, IPC handle shape) to produce.
Fields§
§type_: c_int§requested_handle_types: c_int§location: CUmemLocation§win32_handle_meta_data: *mut c_void§alloc_flags: CUmemAllocationPropFlagsTrait Implementations§
Source§impl Clone for CUmemAllocationProp
impl Clone for CUmemAllocationProp
Source§fn clone(&self) -> CUmemAllocationProp
fn clone(&self) -> CUmemAllocationProp
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 CUmemAllocationProp
impl Debug for CUmemAllocationProp
Source§impl Default for CUmemAllocationProp
impl Default for CUmemAllocationProp
Source§fn default() -> CUmemAllocationProp
fn default() -> CUmemAllocationProp
Returns the “default value” for a type. Read more
impl Copy for CUmemAllocationProp
Auto Trait Implementations§
impl Freeze for CUmemAllocationProp
impl RefUnwindSafe for CUmemAllocationProp
impl !Send for CUmemAllocationProp
impl !Sync for CUmemAllocationProp
impl Unpin for CUmemAllocationProp
impl UnsafeUnpin for CUmemAllocationProp
impl UnwindSafe for CUmemAllocationProp
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