#[repr(C)]pub struct MemoryHeap {
pub size: DeviceSize,
pub flags: MemoryHeapFlags,
}Expand description
Fields§
§size: DeviceSize§flags: MemoryHeapFlagsImplementations§
Source§impl MemoryHeap
impl MemoryHeap
pub fn size(self, size: DeviceSize) -> Self
pub fn flags(self, flags: MemoryHeapFlags) -> Self
Trait Implementations§
Source§impl Clone for MemoryHeap
impl Clone for MemoryHeap
impl Copy for MemoryHeap
Auto Trait Implementations§
impl Freeze for MemoryHeap
impl RefUnwindSafe for MemoryHeap
impl Send for MemoryHeap
impl Sync for MemoryHeap
impl Unpin for MemoryHeap
impl UnsafeUnpin for MemoryHeap
impl UnwindSafe for MemoryHeap
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