#[repr(C)]pub struct WGPUVertexAttribute {
pub nextInChain: *mut WGPUChainedStruct,
pub format: WGPUVertexFormat,
pub offset: u64,
pub shaderLocation: u32,
}Fields§
§nextInChain: *mut WGPUChainedStruct§format: WGPUVertexFormat§offset: u64§shaderLocation: u32Trait Implementations§
Source§impl Clone for WGPUVertexAttribute
impl Clone for WGPUVertexAttribute
Source§fn clone(&self) -> WGPUVertexAttribute
fn clone(&self) -> WGPUVertexAttribute
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 WGPUVertexAttribute
impl Debug for WGPUVertexAttribute
Source§impl Default for WGPUVertexAttribute
impl Default for WGPUVertexAttribute
Source§impl Hash for WGPUVertexAttribute
impl Hash for WGPUVertexAttribute
Source§impl Ord for WGPUVertexAttribute
impl Ord for WGPUVertexAttribute
Source§fn cmp(&self, other: &WGPUVertexAttribute) -> Ordering
fn cmp(&self, other: &WGPUVertexAttribute) -> 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 WGPUVertexAttribute
impl PartialEq for WGPUVertexAttribute
Source§impl PartialOrd for WGPUVertexAttribute
impl PartialOrd for WGPUVertexAttribute
impl Copy for WGPUVertexAttribute
impl Eq for WGPUVertexAttribute
impl StructuralPartialEq for WGPUVertexAttribute
Auto Trait Implementations§
impl Freeze for WGPUVertexAttribute
impl RefUnwindSafe for WGPUVertexAttribute
impl !Send for WGPUVertexAttribute
impl !Sync for WGPUVertexAttribute
impl Unpin for WGPUVertexAttribute
impl UnwindSafe for WGPUVertexAttribute
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