#[repr(C)]pub struct VertexInputBindingDescription {
pub binding: u32,
pub stride: u32,
pub input_rate: VertexInputRate,
}
Expand description
Fields§
§binding: u32
§stride: u32
§input_rate: VertexInputRate
Implementations§
Source§impl VertexInputBindingDescription
impl VertexInputBindingDescription
pub fn builder<'a>() -> VertexInputBindingDescriptionBuilder<'a>
Trait Implementations§
Source§impl Clone for VertexInputBindingDescription
impl Clone for VertexInputBindingDescription
Source§fn clone(&self) -> VertexInputBindingDescription
fn clone(&self) -> VertexInputBindingDescription
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 VertexInputBindingDescription
impl Default for VertexInputBindingDescription
Source§fn default() -> VertexInputBindingDescription
fn default() -> VertexInputBindingDescription
Returns the “default value” for a type. Read more
impl Copy for VertexInputBindingDescription
Auto Trait Implementations§
impl Freeze for VertexInputBindingDescription
impl RefUnwindSafe for VertexInputBindingDescription
impl Send for VertexInputBindingDescription
impl Sync for VertexInputBindingDescription
impl Unpin for VertexInputBindingDescription
impl UnwindSafe for VertexInputBindingDescription
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)