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