#[repr(u32)]pub enum WGPUIndexFormat {
Undefined = 0,
Uint16 = 1,
Uint32 = 2,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for WGPUIndexFormat
impl Clone for WGPUIndexFormat
Source§fn clone(&self) -> WGPUIndexFormat
fn clone(&self) -> WGPUIndexFormat
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 WGPUIndexFormat
impl Debug for WGPUIndexFormat
Source§impl Display for WGPUIndexFormat
impl Display for WGPUIndexFormat
Source§impl<'_derivative_strum> From<&'_derivative_strum WGPUIndexFormat> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum WGPUIndexFormat> for &'static str
Source§fn from(x: &'_derivative_strum WGPUIndexFormat) -> &'static str
fn from(x: &'_derivative_strum WGPUIndexFormat) -> &'static str
Converts to this type from the input type.
Source§impl From<WGPUIndexFormat> for &'static str
impl From<WGPUIndexFormat> for &'static str
Source§fn from(x: WGPUIndexFormat) -> &'static str
fn from(x: WGPUIndexFormat) -> &'static str
Converts to this type from the input type.
Source§impl FromStr for WGPUIndexFormat
impl FromStr for WGPUIndexFormat
Source§impl Hash for WGPUIndexFormat
impl Hash for WGPUIndexFormat
Source§impl PartialEq for WGPUIndexFormat
impl PartialEq for WGPUIndexFormat
Source§impl TryFrom<&str> for WGPUIndexFormat
impl TryFrom<&str> for WGPUIndexFormat
impl Copy for WGPUIndexFormat
impl Eq for WGPUIndexFormat
impl StructuralPartialEq for WGPUIndexFormat
Auto Trait Implementations§
impl Freeze for WGPUIndexFormat
impl RefUnwindSafe for WGPUIndexFormat
impl Send for WGPUIndexFormat
impl Sync for WGPUIndexFormat
impl Unpin for WGPUIndexFormat
impl UnwindSafe for WGPUIndexFormat
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