Struct VkMemory Requirements 
#[repr(C)]pub struct VkMemoryRequirements {
    pub size: u64,
    pub alignment: u64,
    pub memory_type_bits: u32,
}Expand description
Fields§
§size: u64§alignment: u64§memory_type_bits: u32Implementations§
§impl MemoryRequirements
 
impl MemoryRequirements
pub fn size(self, size: u64) -> MemoryRequirements
pub fn alignment(self, alignment: u64) -> MemoryRequirements
pub fn memory_type_bits(self, memory_type_bits: u32) -> MemoryRequirements
Trait Implementations§
§impl Clone for MemoryRequirements
 
impl Clone for MemoryRequirements
§fn clone(&self) -> MemoryRequirements
 
fn clone(&self) -> MemoryRequirements
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read more§impl Debug for MemoryRequirements
 
impl Debug for MemoryRequirements
§impl Default for MemoryRequirements
 
impl Default for MemoryRequirements
§fn default() -> MemoryRequirements
 
fn default() -> MemoryRequirements
Returns the “default value” for a type. Read more
impl Copy for MemoryRequirements
Auto Trait Implementations§
impl Freeze for MemoryRequirements
impl RefUnwindSafe for MemoryRequirements
impl Send for MemoryRequirements
impl Sync for MemoryRequirements
impl Unpin for MemoryRequirements
impl UnwindSafe for MemoryRequirements
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