#[repr(C)]pub struct MemoryRequirements {
pub size: u64,
pub alignment: u64,
pub memory_type_bits: u32,
}Expand description
VkMemoryRequirements
Provided by VK_BASE_VERSION_1_0.
Returned only*, filled by Vulkan, not constructed by the application.
Fields§
§size: u64§alignment: u64§memory_type_bits: u32Implementations§
Source§impl MemoryRequirements
impl MemoryRequirements
Sourcepub fn builder() -> MemoryRequirementsBuilder
pub fn builder() -> MemoryRequirementsBuilder
Start building this struct.
Trait Implementations§
Source§impl Clone for MemoryRequirements
impl Clone for MemoryRequirements
Source§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 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 UnsafeUnpin 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