pub struct DescriptorUpdateTemplateEntryBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> DescriptorUpdateTemplateEntryBuilder<'a>
impl<'a> DescriptorUpdateTemplateEntryBuilder<'a>
pub fn dst_binding(self, dst_binding: u32) -> Self
pub fn dst_array_element(self, dst_array_element: u32) -> Self
pub fn descriptor_count(self, descriptor_count: u32) -> Self
pub fn descriptor_type(self, descriptor_type: DescriptorType) -> Self
pub fn offset(self, offset: usize) -> Self
pub fn stride(self, stride: usize) -> Self
Sourcepub fn build(self) -> DescriptorUpdateTemplateEntry
pub fn build(self) -> DescriptorUpdateTemplateEntry
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 DescriptorUpdateTemplateEntryBuilder<'a>
impl<'a> Deref for DescriptorUpdateTemplateEntryBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for DescriptorUpdateTemplateEntryBuilder<'a>
impl<'a> RefUnwindSafe for DescriptorUpdateTemplateEntryBuilder<'a>
impl<'a> Send for DescriptorUpdateTemplateEntryBuilder<'a>
impl<'a> Sync for DescriptorUpdateTemplateEntryBuilder<'a>
impl<'a> Unpin for DescriptorUpdateTemplateEntryBuilder<'a>
impl<'a> UnwindSafe for DescriptorUpdateTemplateEntryBuilder<'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