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> Freeze for VertexInputBindingDescriptionBuilder<'a>
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