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