#[repr(transparent)]pub struct WGPUOptionalBool(pub c_int);Tuple Fields§
§0: c_intImplementations§
Source§impl WGPUOptionalBool
impl WGPUOptionalBool
pub const WGPUOptionalBool_False: WGPUOptionalBool
Source§impl WGPUOptionalBool
impl WGPUOptionalBool
pub const WGPUOptionalBool_True: WGPUOptionalBool
Trait Implementations§
Source§impl Clone for WGPUOptionalBool
impl Clone for WGPUOptionalBool
Source§fn clone(&self) -> WGPUOptionalBool
fn clone(&self) -> WGPUOptionalBool
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 WGPUOptionalBool
impl Debug for WGPUOptionalBool
Source§impl Hash for WGPUOptionalBool
impl Hash for WGPUOptionalBool
Source§impl Ord for WGPUOptionalBool
impl Ord for WGPUOptionalBool
Source§fn cmp(&self, other: &WGPUOptionalBool) -> Ordering
fn cmp(&self, other: &WGPUOptionalBool) -> 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 WGPUOptionalBool
impl PartialEq for WGPUOptionalBool
Source§impl PartialOrd for WGPUOptionalBool
impl PartialOrd 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