#[repr(C)]pub struct ZeDeviceMemAllocDesc {
pub stype: u32,
pub p_next: *const c_void,
pub flags: u32,
pub ordinal: u32,
}Expand description
Mirrors ze_device_mem_alloc_desc_t.
Fields§
§stype: u32ze_device_mem_alloc_desc_t::stype.
p_next: *const c_voidze_device_mem_alloc_desc_t::pNext.
flags: u32ze_device_mem_alloc_desc_t::flags.
ordinal: u32ze_device_mem_alloc_desc_t::ordinal: device memory ordinal to allocate from.
Auto Trait Implementations§
impl !Send for ZeDeviceMemAllocDesc
impl !Sync for ZeDeviceMemAllocDesc
impl Freeze for ZeDeviceMemAllocDesc
impl RefUnwindSafe for ZeDeviceMemAllocDesc
impl Unpin for ZeDeviceMemAllocDesc
impl UnsafeUnpin for ZeDeviceMemAllocDesc
impl UnwindSafe for ZeDeviceMemAllocDesc
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