Struct ash::vk::DescriptorUpdateTemplateEntryBuilder
source · 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> 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