#[repr(transparent)]pub struct WGPUVertexFormat(pub c_int);Tuple Fields§
§0: c_intImplementations§
§impl WGPUVertexFormat
impl WGPUVertexFormat
pub const Uint8: Self = raw::WGPUVertexFormat_WGPUVertexFormat_Uint8
pub const Uint8x2: Self = raw::WGPUVertexFormat_WGPUVertexFormat_Uint8x2
pub const Uint8x4: Self = raw::WGPUVertexFormat_WGPUVertexFormat_Uint8x4
pub const Sint8: Self = raw::WGPUVertexFormat_WGPUVertexFormat_Sint8
pub const Sint8x2: Self = raw::WGPUVertexFormat_WGPUVertexFormat_Sint8x2
pub const Sint8x4: Self = raw::WGPUVertexFormat_WGPUVertexFormat_Sint8x4
pub const Unorm8: Self = raw::WGPUVertexFormat_WGPUVertexFormat_Unorm8
pub const Unorm8x2: Self = raw::WGPUVertexFormat_WGPUVertexFormat_Unorm8x2
pub const Unorm8x4: Self = raw::WGPUVertexFormat_WGPUVertexFormat_Unorm8x4
pub const Snorm8: Self = raw::WGPUVertexFormat_WGPUVertexFormat_Snorm8
pub const Snorm8x2: Self = raw::WGPUVertexFormat_WGPUVertexFormat_Snorm8x2
pub const Snorm8x4: Self = raw::WGPUVertexFormat_WGPUVertexFormat_Snorm8x4
pub const Uint16: Self = raw::WGPUVertexFormat_WGPUVertexFormat_Uint16
pub const Uint16x2: Self = raw::WGPUVertexFormat_WGPUVertexFormat_Uint16x2
pub const Uint16x4: Self = raw::WGPUVertexFormat_WGPUVertexFormat_Uint16x4
pub const Sint16: Self = raw::WGPUVertexFormat_WGPUVertexFormat_Sint16
pub const Sint16x2: Self = raw::WGPUVertexFormat_WGPUVertexFormat_Sint16x2
pub const Sint16x4: Self = raw::WGPUVertexFormat_WGPUVertexFormat_Sint16x4
pub const Unorm16: Self = raw::WGPUVertexFormat_WGPUVertexFormat_Unorm16
pub const Unorm16x2: Self = raw::WGPUVertexFormat_WGPUVertexFormat_Unorm16x2
pub const Unorm16x4: Self = raw::WGPUVertexFormat_WGPUVertexFormat_Unorm16x4
pub const Snorm16: Self = raw::WGPUVertexFormat_WGPUVertexFormat_Snorm16
pub const Snorm16x2: Self = raw::WGPUVertexFormat_WGPUVertexFormat_Snorm16x2
pub const Snorm16x4: Self = raw::WGPUVertexFormat_WGPUVertexFormat_Snorm16x4
pub const Float16: Self = raw::WGPUVertexFormat_WGPUVertexFormat_Float16
pub const Float16x2: Self = raw::WGPUVertexFormat_WGPUVertexFormat_Float16x2
pub const Float16x4: Self = raw::WGPUVertexFormat_WGPUVertexFormat_Float16x4
pub const Float32: Self = raw::WGPUVertexFormat_WGPUVertexFormat_Float32
pub const Float32x2: Self = raw::WGPUVertexFormat_WGPUVertexFormat_Float32x2
pub const Float32x3: Self = raw::WGPUVertexFormat_WGPUVertexFormat_Float32x3
pub const Float32x4: Self = raw::WGPUVertexFormat_WGPUVertexFormat_Float32x4
pub const Uint32: Self = raw::WGPUVertexFormat_WGPUVertexFormat_Uint32
pub const Uint32x2: Self = raw::WGPUVertexFormat_WGPUVertexFormat_Uint32x2
pub const Uint32x3: Self = raw::WGPUVertexFormat_WGPUVertexFormat_Uint32x3
pub const Uint32x4: Self = raw::WGPUVertexFormat_WGPUVertexFormat_Uint32x4
pub const Sint32: Self = raw::WGPUVertexFormat_WGPUVertexFormat_Sint32
pub const Sint32x2: Self = raw::WGPUVertexFormat_WGPUVertexFormat_Sint32x2
pub const Sint32x3: Self = raw::WGPUVertexFormat_WGPUVertexFormat_Sint32x3
pub const Sint32x4: Self = raw::WGPUVertexFormat_WGPUVertexFormat_Sint32x4
pub const Unorm10_10_10_2: Self = raw::WGPUVertexFormat_WGPUVertexFormat_Unorm10_10_10_2
pub const Unorm8x4BGRA: Self = raw::WGPUVertexFormat_WGPUVertexFormat_Unorm8x4BGRA
Trait Implementations§
Source§impl Clone for WGPUVertexFormat
impl Clone for WGPUVertexFormat
Source§fn clone(&self) -> WGPUVertexFormat
fn clone(&self) -> WGPUVertexFormat
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 WGPUVertexFormat
impl Debug for WGPUVertexFormat
Source§impl Hash for WGPUVertexFormat
impl Hash for WGPUVertexFormat
Source§impl Ord for WGPUVertexFormat
impl Ord for WGPUVertexFormat
Source§fn cmp(&self, other: &WGPUVertexFormat) -> Ordering
fn cmp(&self, other: &WGPUVertexFormat) -> 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 WGPUVertexFormat
impl PartialEq for WGPUVertexFormat
Source§impl PartialOrd for WGPUVertexFormat
impl PartialOrd for WGPUVertexFormat
impl Copy for WGPUVertexFormat
impl Eq for WGPUVertexFormat
impl StructuralPartialEq for WGPUVertexFormat
Auto Trait Implementations§
impl Freeze for WGPUVertexFormat
impl RefUnwindSafe for WGPUVertexFormat
impl Send for WGPUVertexFormat
impl Sync for WGPUVertexFormat
impl Unpin for WGPUVertexFormat
impl UnwindSafe for WGPUVertexFormat
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