#[repr(C)]pub struct VkVertexInputBindingDescription {
pub binding: u32,
pub stride: u32,
pub inputRate: VkVertexInputRate,
}Fields§
§binding: u32§stride: u32§inputRate: VkVertexInputRateImplementations§
Source§impl VkVertexInputBindingDescription
impl VkVertexInputBindingDescription
Sourcepub const fn per_vertex(binding: u32, stride: u32) -> Self
pub const fn per_vertex(binding: u32, stride: u32) -> Self
Consumed per vertex with stride
Sourcepub const fn per_instance(binding: u32, stride: u32) -> Self
pub const fn per_instance(binding: u32, stride: u32) -> Self
Consumed per instance with stride
Sourcepub const fn per_vertex_typed<T>(binding: u32) -> Self
pub const fn per_vertex_typed<T>(binding: u32) -> Self
Consumed per vertex the structured data
Sourcepub const fn per_instance_typed<T>(binding: u32) -> Self
pub const fn per_instance_typed<T>(binding: u32) -> Self
Consumed per instance the structured data
Trait Implementations§
Source§impl Clone for VkVertexInputBindingDescription
impl Clone for VkVertexInputBindingDescription
Source§fn clone(&self) -> VkVertexInputBindingDescription
fn clone(&self) -> VkVertexInputBindingDescription
Returns a duplicate 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 moreimpl Copy for VkVertexInputBindingDescription
Auto Trait Implementations§
impl Freeze for VkVertexInputBindingDescription
impl RefUnwindSafe for VkVertexInputBindingDescription
impl Send for VkVertexInputBindingDescription
impl Sync for VkVertexInputBindingDescription
impl Unpin for VkVertexInputBindingDescription
impl UnwindSafe for VkVertexInputBindingDescription
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