#[repr(C)]pub struct hipMemAllocationProp {
pub type_: hipMemAllocationType,
pub requestedHandleType: hipMemAllocationHandleType,
pub location: hipMemLocation,
pub win32HandleMetaData: *mut c_void,
pub allocFlags: hipMemAllocationProp__bindgen_ty_1,
}
Expand description
Memory allocation properties
Fields§
§type_: hipMemAllocationType
< Memory allocation type
requestedHandleType: hipMemAllocationHandleType
< Requested handle type
location: hipMemLocation
< Memory location
win32HandleMetaData: *mut c_void
< Metadata for Win32 handles
allocFlags: hipMemAllocationProp__bindgen_ty_1
Trait Implementations§
Source§impl Clone for hipMemAllocationProp
impl Clone for hipMemAllocationProp
Source§fn clone(&self) -> hipMemAllocationProp
fn clone(&self) -> hipMemAllocationProp
Returns a copy 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 moreSource§impl Debug for hipMemAllocationProp
impl Debug for hipMemAllocationProp
impl 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