#[repr(C)]pub struct MemoryType {
pub property_flags: MemoryPropertyFlags,
pub heap_index: u32,
}Expand description
Native structure VkMemoryType.
Fields§
§property_flags: MemoryPropertyFlagsNative field propertyFlags.
heap_index: u32Native field heapIndex.
Implementations§
Source§impl MemoryType
impl MemoryType
Sourcepub fn set_property_flags(self, value: MemoryPropertyFlags) -> Self
pub fn set_property_flags(self, value: MemoryPropertyFlags) -> Self
Set native field propertyFlags without native effects.
Sourcepub fn set_heap_index(self, value: u32) -> Self
pub fn set_heap_index(self, value: u32) -> Self
Set native field heapIndex without native effects.
Trait Implementations§
Source§impl Clone for MemoryType
impl Clone for MemoryType
impl Copy for MemoryType
Auto Trait Implementations§
impl Forget for MemoryType
impl Freeze for MemoryType
impl Move for MemoryType
impl RefUnwindSafe for MemoryType
impl Send for MemoryType
impl Sync for MemoryType
impl Unpin for MemoryType
impl UnsafeUnpin for MemoryType
impl UnwindSafe for MemoryType
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