#[repr(C)]pub struct WGPUVertexAttribute {
pub nextInChain: *mut WGPUChainedStruct,
pub format: c_int,
pub offset: u64,
pub shaderLocation: u32,
}Fields§
§nextInChain: *mut WGPUChainedStruct§format: c_int§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 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 WGPUVertexAttribute
impl Debug for WGPUVertexAttribute
impl Copy 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