#[repr(C)]pub struct VkMemoryRequirements {
pub size: VkDeviceSize,
pub alignment: VkDeviceSize,
pub memoryTypeBits: uint32_t,
}Expand description
VkMemoryRequirements
Fields§
§size: VkDeviceSizeSpecified in bytes
alignment: VkDeviceSizeSpecified in bytes
memoryTypeBits: uint32_tBitmask of the allowed memory type indices into memoryTypes[] for this object
Implementations§
Trait Implementations§
Source§impl Clone for VkMemoryRequirements
impl Clone for VkMemoryRequirements
Source§fn clone(&self) -> VkMemoryRequirements
fn clone(&self) -> VkMemoryRequirements
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 VkMemoryRequirements
impl Debug for VkMemoryRequirements
Source§impl Default for VkMemoryRequirements
impl Default for VkMemoryRequirements
impl Copy for VkMemoryRequirements
Auto Trait Implementations§
impl Freeze for VkMemoryRequirements
impl RefUnwindSafe for VkMemoryRequirements
impl Send for VkMemoryRequirements
impl Sync for VkMemoryRequirements
impl Unpin for VkMemoryRequirements
impl UnsafeUnpin for VkMemoryRequirements
impl UnwindSafe for VkMemoryRequirements
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