Struct screen_13::prelude::vk::MemoryRequirementsBuilder
source · pub struct MemoryRequirementsBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> MemoryRequirementsBuilder<'a>
impl<'a> MemoryRequirementsBuilder<'a>
pub fn size(self, size: u64) -> MemoryRequirementsBuilder<'a>
pub fn alignment(self, alignment: u64) -> MemoryRequirementsBuilder<'a>
pub fn memory_type_bits( self, memory_type_bits: u32 ) -> MemoryRequirementsBuilder<'a>
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>
§type Target = MemoryRequirements
type Target = MemoryRequirements
The resulting type after dereferencing.
source§impl<'a> DerefMut for MemoryRequirementsBuilder<'a>
impl<'a> DerefMut 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