Struct ash::vk::VertexInputBindingDescription2EXTBuilder
source · pub struct VertexInputBindingDescription2EXTBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> VertexInputBindingDescription2EXTBuilder<'a>
impl<'a> VertexInputBindingDescription2EXTBuilder<'a>
pub fn binding(self, binding: u32) -> Self
pub fn stride(self, stride: u32) -> Self
pub fn input_rate(self, input_rate: VertexInputRate) -> Self
pub fn divisor(self, divisor: u32) -> Self
sourcepub fn build(self) -> VertexInputBindingDescription2EXT
pub fn build(self) -> VertexInputBindingDescription2EXT
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 VertexInputBindingDescription2EXTBuilder<'a>
impl<'a> Deref for VertexInputBindingDescription2EXTBuilder<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for VertexInputBindingDescription2EXTBuilder<'a>
impl<'a> !Send for VertexInputBindingDescription2EXTBuilder<'a>
impl<'a> !Sync for VertexInputBindingDescription2EXTBuilder<'a>
impl<'a> Unpin for VertexInputBindingDescription2EXTBuilder<'a>
impl<'a> UnwindSafe for VertexInputBindingDescription2EXTBuilder<'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