#[repr(C)]pub struct MemoryHeap {
pub size: DeviceSize,
pub flags: MemoryHeapFlags,
}Expand description
Native structure VkMemoryHeap.
Fields§
§size: DeviceSizeNative field size.
flags: MemoryHeapFlagsNative field flags.
Implementations§
Source§impl MemoryHeap
impl MemoryHeap
Sourcepub fn set_size(self, value: DeviceSize) -> Self
pub fn set_size(self, value: DeviceSize) -> Self
Set native field size without native effects.
Sourcepub fn set_flags(self, value: MemoryHeapFlags) -> Self
pub fn set_flags(self, value: MemoryHeapFlags) -> Self
Set native field flags without native effects.
Trait Implementations§
Source§impl Clone for MemoryHeap
impl Clone for MemoryHeap
impl Copy for MemoryHeap
Auto Trait Implementations§
impl Forget for MemoryHeap
impl Freeze for MemoryHeap
impl Move 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