#[repr(i32)]pub enum WGPUBlendOperation {
Undefined = 0,
Add = 1,
Subtract = 2,
ReverseSubtract = 3,
Min = 4,
Max = 5,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for WGPUBlendOperation
impl Clone for WGPUBlendOperation
Source§fn clone(&self) -> WGPUBlendOperation
fn clone(&self) -> WGPUBlendOperation
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 WGPUBlendOperation
impl Debug for WGPUBlendOperation
Source§impl Display for WGPUBlendOperation
impl Display for WGPUBlendOperation
Source§impl<'_derivative_strum> From<&'_derivative_strum WGPUBlendOperation> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum WGPUBlendOperation> for &'static str
Source§fn from(x: &'_derivative_strum WGPUBlendOperation) -> &'static str
fn from(x: &'_derivative_strum WGPUBlendOperation) -> &'static str
Converts to this type from the input type.
Source§impl From<WGPUBlendOperation> for &'static str
impl From<WGPUBlendOperation> for &'static str
Source§fn from(x: WGPUBlendOperation) -> &'static str
fn from(x: WGPUBlendOperation) -> &'static str
Converts to this type from the input type.
Source§impl FromStr for WGPUBlendOperation
impl FromStr for WGPUBlendOperation
Source§impl Hash for WGPUBlendOperation
impl Hash for WGPUBlendOperation
Source§impl IntoEnumIterator for WGPUBlendOperation
impl IntoEnumIterator for WGPUBlendOperation
type Iterator = WGPUBlendOperationIter
fn iter() -> WGPUBlendOperationIter ⓘ
Source§impl PartialEq for WGPUBlendOperation
impl PartialEq for WGPUBlendOperation
Source§impl TryFrom<&str> for WGPUBlendOperation
impl TryFrom<&str> 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