#[repr(transparent)]pub struct WGPUCompareFunction(pub c_int);Tuple Fields§
§0: c_intImplementations§
§impl WGPUCompareFunction
impl WGPUCompareFunction
pub const Undefined: Self = raw::WGPUCompareFunction_WGPUCompareFunction_Undefined
pub const Never: Self = raw::WGPUCompareFunction_WGPUCompareFunction_Never
pub const Less: Self = raw::WGPUCompareFunction_WGPUCompareFunction_Less
pub const Equal: Self = raw::WGPUCompareFunction_WGPUCompareFunction_Equal
pub const LessEqual: Self = raw::WGPUCompareFunction_WGPUCompareFunction_LessEqual
pub const Greater: Self = raw::WGPUCompareFunction_WGPUCompareFunction_Greater
pub const NotEqual: Self = raw::WGPUCompareFunction_WGPUCompareFunction_NotEqual
pub const GreaterEqual: Self = raw::WGPUCompareFunction_WGPUCompareFunction_GreaterEqual
pub const Always: Self = raw::WGPUCompareFunction_WGPUCompareFunction_Always
Trait Implementations§
Source§impl Clone for WGPUCompareFunction
impl Clone for WGPUCompareFunction
Source§fn clone(&self) -> WGPUCompareFunction
fn clone(&self) -> WGPUCompareFunction
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 WGPUCompareFunction
impl Debug for WGPUCompareFunction
Source§impl Hash for WGPUCompareFunction
impl Hash for WGPUCompareFunction
Source§impl Ord for WGPUCompareFunction
impl Ord for WGPUCompareFunction
Source§fn cmp(&self, other: &WGPUCompareFunction) -> Ordering
fn cmp(&self, other: &WGPUCompareFunction) -> 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 WGPUCompareFunction
impl PartialEq for WGPUCompareFunction
Source§impl PartialOrd for WGPUCompareFunction
impl PartialOrd for WGPUCompareFunction
impl Copy for WGPUCompareFunction
impl Eq for WGPUCompareFunction
impl StructuralPartialEq for WGPUCompareFunction
Auto Trait Implementations§
impl Freeze for WGPUCompareFunction
impl RefUnwindSafe for WGPUCompareFunction
impl Send for WGPUCompareFunction
impl Sync for WGPUCompareFunction
impl Unpin for WGPUCompareFunction
impl UnwindSafe for WGPUCompareFunction
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