#[repr(C)]pub struct WGPUVertexBufferLayout {
pub nextInChain: *mut WGPUChainedStruct,
pub stepMode: WGPUVertexStepMode,
pub arrayStride: u64,
pub attributeCount: usize,
pub attributes: *const WGPUVertexAttribute,
}Fields§
§nextInChain: *mut WGPUChainedStruct§stepMode: WGPUVertexStepMode§arrayStride: u64§attributeCount: usize§attributes: *const WGPUVertexAttributeTrait Implementations§
Source§impl Clone for WGPUVertexBufferLayout
impl Clone for WGPUVertexBufferLayout
Source§fn clone(&self) -> WGPUVertexBufferLayout
fn clone(&self) -> WGPUVertexBufferLayout
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 moreSource§impl Debug for WGPUVertexBufferLayout
impl Debug for WGPUVertexBufferLayout
Source§impl Default for WGPUVertexBufferLayout
impl Default for WGPUVertexBufferLayout
Source§impl Hash for WGPUVertexBufferLayout
impl Hash for WGPUVertexBufferLayout
Source§impl Ord for WGPUVertexBufferLayout
impl Ord for WGPUVertexBufferLayout
Source§fn cmp(&self, other: &WGPUVertexBufferLayout) -> Ordering
fn cmp(&self, other: &WGPUVertexBufferLayout) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WGPUVertexBufferLayout
impl PartialEq for WGPUVertexBufferLayout
Source§impl PartialOrd for WGPUVertexBufferLayout
impl PartialOrd for WGPUVertexBufferLayout
impl Copy for WGPUVertexBufferLayout
impl Eq for WGPUVertexBufferLayout
impl StructuralPartialEq for WGPUVertexBufferLayout
Auto Trait Implementations§
impl Freeze for WGPUVertexBufferLayout
impl RefUnwindSafe for WGPUVertexBufferLayout
impl !Send for WGPUVertexBufferLayout
impl !Sync for WGPUVertexBufferLayout
impl Unpin for WGPUVertexBufferLayout
impl UnwindSafe for WGPUVertexBufferLayout
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