#[repr(transparent)]pub struct WGPUBlendOperation(pub c_int);Tuple Fields§
§0: c_intImplementations§
§impl WGPUBlendOperation
impl WGPUBlendOperation
pub const Undefined: Self = raw::WGPUBlendOperation_WGPUBlendOperation_Undefined
pub const Add: Self = raw::WGPUBlendOperation_WGPUBlendOperation_Add
pub const Subtract: Self = raw::WGPUBlendOperation_WGPUBlendOperation_Subtract
pub const ReverseSubtract: Self = raw::WGPUBlendOperation_WGPUBlendOperation_ReverseSubtract
pub const Min: Self = raw::WGPUBlendOperation_WGPUBlendOperation_Min
pub const Max: Self = raw::WGPUBlendOperation_WGPUBlendOperation_Max
Trait Implementations§
Source§impl Clone for WGPUBlendOperation
impl Clone for WGPUBlendOperation
Source§fn clone(&self) -> WGPUBlendOperation
fn clone(&self) -> WGPUBlendOperation
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 WGPUBlendOperation
impl Debug for WGPUBlendOperation
Source§impl Hash for WGPUBlendOperation
impl Hash for WGPUBlendOperation
Source§impl Ord for WGPUBlendOperation
impl Ord for WGPUBlendOperation
Source§fn cmp(&self, other: &WGPUBlendOperation) -> Ordering
fn cmp(&self, other: &WGPUBlendOperation) -> 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 WGPUBlendOperation
impl PartialEq for WGPUBlendOperation
Source§impl PartialOrd for WGPUBlendOperation
impl PartialOrd for WGPUBlendOperation
impl Copy for WGPUBlendOperation
impl Eq for WGPUBlendOperation
impl StructuralPartialEq for WGPUBlendOperation
Auto Trait Implementations§
impl Freeze for WGPUBlendOperation
impl RefUnwindSafe for WGPUBlendOperation
impl Send for WGPUBlendOperation
impl Sync for WGPUBlendOperation
impl Unpin for WGPUBlendOperation
impl UnwindSafe for WGPUBlendOperation
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