#[repr(C)]pub struct hipMemAllocationProp {
pub type_: hipMemAllocationType,
pub __bindgen_anon_1: hipMemAllocationProp__bindgen_ty_1,
pub location: hipMemLocation,
pub win32HandleMetaData: *mut c_void,
pub allocFlags: hipMemAllocationProp__bindgen_ty_2,
}Expand description
Memory allocation properties
Fields§
§type_: hipMemAllocationType< Memory allocation type
__bindgen_anon_1: hipMemAllocationProp__bindgen_ty_1§location: hipMemLocation< Memory location
win32HandleMetaData: *mut c_void< Metadata for Win32 handles
allocFlags: hipMemAllocationProp__bindgen_ty_2Trait Implementations§
Source§impl Clone for hipMemAllocationProp
impl Clone for hipMemAllocationProp
Source§fn clone(&self) -> hipMemAllocationProp
fn clone(&self) -> hipMemAllocationProp
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for hipMemAllocationProp
Auto Trait Implementations§
impl Freeze for hipMemAllocationProp
impl RefUnwindSafe for hipMemAllocationProp
impl !Send for hipMemAllocationProp
impl !Sync for hipMemAllocationProp
impl Unpin for hipMemAllocationProp
impl UnwindSafe for hipMemAllocationProp
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