#[repr(transparent)]pub struct DescriptorUpdateTemplateEntryBuilder { /* private fields */ }
Expand description
A builder for a DescriptorUpdateTemplateEntry
.
Implementations§
source§impl DescriptorUpdateTemplateEntryBuilder
impl DescriptorUpdateTemplateEntryBuilder
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
pub fn build(self) -> DescriptorUpdateTemplateEntry
Trait Implementations§
source§impl Cast for DescriptorUpdateTemplateEntryBuilder
impl Cast for DescriptorUpdateTemplateEntryBuilder
§type Target = DescriptorUpdateTemplateEntry
type Target = DescriptorUpdateTemplateEntry
The other type this type can be used interchangeably with in FFI.
source§impl Clone for DescriptorUpdateTemplateEntryBuilder
impl Clone for DescriptorUpdateTemplateEntryBuilder
source§fn clone(&self) -> DescriptorUpdateTemplateEntryBuilder
fn clone(&self) -> DescriptorUpdateTemplateEntryBuilder
Returns a copy 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 Default for DescriptorUpdateTemplateEntryBuilder
impl Default for DescriptorUpdateTemplateEntryBuilder
source§fn default() -> DescriptorUpdateTemplateEntryBuilder
fn default() -> DescriptorUpdateTemplateEntryBuilder
Returns the “default value” for a type. Read more
impl Copy for DescriptorUpdateTemplateEntryBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DescriptorUpdateTemplateEntryBuilder
impl Send for DescriptorUpdateTemplateEntryBuilder
impl Sync for DescriptorUpdateTemplateEntryBuilder
impl Unpin for DescriptorUpdateTemplateEntryBuilder
impl UnwindSafe for DescriptorUpdateTemplateEntryBuilder
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