pub struct AllocRequest {
pub size: u64,
pub alignment: u64,
pub memory_type_bits: u32,
pub required_flags: MemoryPropertyFlags,
pub preferred_flags: MemoryPropertyFlags,
}Fields§
§size: u64§alignment: u64§memory_type_bits: u32§required_flags: MemoryPropertyFlags§preferred_flags: MemoryPropertyFlagsAuto Trait Implementations§
impl Freeze for AllocRequest
impl RefUnwindSafe for AllocRequest
impl Send for AllocRequest
impl Sync for AllocRequest
impl Unpin for AllocRequest
impl UnsafeUnpin for AllocRequest
impl UnwindSafe for AllocRequest
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