Struct ash::vk::MemoryRequirements
source · #[repr(C)]pub struct MemoryRequirements {
pub size: DeviceSize,
pub alignment: DeviceSize,
pub memory_type_bits: u32,
}
Expand description
Fields§
§size: DeviceSize
§alignment: DeviceSize
§memory_type_bits: u32
Implementations§
source§impl MemoryRequirements
impl MemoryRequirements
pub fn size(self, size: DeviceSize) -> Self
pub fn alignment(self, alignment: DeviceSize) -> Self
pub fn memory_type_bits(self, memory_type_bits: u32) -> Self
Trait Implementations§
source§impl Clone for MemoryRequirements
impl Clone for MemoryRequirements
source§fn clone(&self) -> MemoryRequirements
fn clone(&self) -> MemoryRequirements
Returns a copy 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 moresource§impl Debug for MemoryRequirements
impl Debug for MemoryRequirements
source§impl Default for MemoryRequirements
impl Default for MemoryRequirements
source§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