Struct ash::vk::MemoryRequirementsBuilder
source · pub struct MemoryRequirementsBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> MemoryRequirementsBuilder<'a>
impl<'a> MemoryRequirementsBuilder<'a>
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
sourcepub fn build(self) -> MemoryRequirements
pub fn build(self) -> MemoryRequirements
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
source§impl<'a> Deref for MemoryRequirementsBuilder<'a>
impl<'a> Deref for MemoryRequirementsBuilder<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for MemoryRequirementsBuilder<'a>
impl<'a> Send for MemoryRequirementsBuilder<'a>
impl<'a> Sync for MemoryRequirementsBuilder<'a>
impl<'a> Unpin for MemoryRequirementsBuilder<'a>
impl<'a> UnwindSafe for MemoryRequirementsBuilder<'a>
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