Struct simple_wgpu::VertexBufferLayout
source · pub struct VertexBufferLayout {
pub array_stride: BufferAddress,
pub step_mode: VertexStepMode,
pub attributes: Vec<VertexAttribute>,
}
Expand description
Describes the layout of a vertex buffer
Equivalent to wgpu::VertexBufferLayout
Fields§
§array_stride: BufferAddress
§step_mode: VertexStepMode
§attributes: Vec<VertexAttribute>
Trait Implementations§
source§impl Clone for VertexBufferLayout
impl Clone for VertexBufferLayout
source§fn clone(&self) -> VertexBufferLayout
fn clone(&self) -> VertexBufferLayout
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 Debug for VertexBufferLayout
impl Debug for VertexBufferLayout
source§impl Hash for VertexBufferLayout
impl Hash for VertexBufferLayout
source§impl PartialEq<VertexBufferLayout> for VertexBufferLayout
impl PartialEq<VertexBufferLayout> for VertexBufferLayout
source§fn eq(&self, other: &VertexBufferLayout) -> bool
fn eq(&self, other: &VertexBufferLayout) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for VertexBufferLayout
impl StructuralEq for VertexBufferLayout
impl StructuralPartialEq for VertexBufferLayout
Auto Trait Implementations§
impl RefUnwindSafe for VertexBufferLayout
impl Send for VertexBufferLayout
impl Sync for VertexBufferLayout
impl Unpin for VertexBufferLayout
impl UnwindSafe for VertexBufferLayout
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.