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