Struct ash::vk::definitions::VertexInputBindingDescription
source · #[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 binding(self, binding: u32) -> Self
pub fn stride(self, stride: u32) -> Self
pub fn input_rate(self, input_rate: VertexInputRate) -> Self
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
)