#[repr(transparent)]pub struct WGPUStencilOperation(pub c_int);Tuple Fields§
§0: c_intImplementations§
§impl WGPUStencilOperation
impl WGPUStencilOperation
pub const Undefined: Self = raw::WGPUStencilOperation_WGPUStencilOperation_Undefined
pub const Keep: Self = raw::WGPUStencilOperation_WGPUStencilOperation_Keep
pub const Zero: Self = raw::WGPUStencilOperation_WGPUStencilOperation_Zero
pub const Replace: Self = raw::WGPUStencilOperation_WGPUStencilOperation_Replace
pub const Invert: Self = raw::WGPUStencilOperation_WGPUStencilOperation_Invert
pub const IncrementClamp: Self = raw::WGPUStencilOperation_WGPUStencilOperation_IncrementClamp
pub const DecrementClamp: Self = raw::WGPUStencilOperation_WGPUStencilOperation_DecrementClamp
pub const IncrementWrap: Self = raw::WGPUStencilOperation_WGPUStencilOperation_IncrementWrap
pub const DecrementWrap: Self = raw::WGPUStencilOperation_WGPUStencilOperation_DecrementWrap
Trait Implementations§
Source§impl Clone for WGPUStencilOperation
impl Clone for WGPUStencilOperation
Source§fn clone(&self) -> WGPUStencilOperation
fn clone(&self) -> WGPUStencilOperation
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 WGPUStencilOperation
impl Debug for WGPUStencilOperation
§impl Default for WGPUStencilOperation
impl Default for WGPUStencilOperation
Source§impl Hash for WGPUStencilOperation
impl Hash for WGPUStencilOperation
Source§impl Ord for WGPUStencilOperation
impl Ord for WGPUStencilOperation
Source§fn cmp(&self, other: &WGPUStencilOperation) -> Ordering
fn cmp(&self, other: &WGPUStencilOperation) -> 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 WGPUStencilOperation
impl PartialEq for WGPUStencilOperation
Source§impl PartialOrd for WGPUStencilOperation
impl PartialOrd for WGPUStencilOperation
impl Copy for WGPUStencilOperation
impl Eq for WGPUStencilOperation
impl StructuralPartialEq for WGPUStencilOperation
Auto Trait Implementations§
impl Freeze for WGPUStencilOperation
impl RefUnwindSafe for WGPUStencilOperation
impl Send for WGPUStencilOperation
impl Sync for WGPUStencilOperation
impl Unpin for WGPUStencilOperation
impl UnwindSafe for WGPUStencilOperation
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