#[repr(u32)]pub enum WGPUBlendFactor {
Show 18 variants
Undefined = 0,
Zero = 1,
One = 2,
Src = 3,
OneMinusSrc = 4,
SrcAlpha = 5,
OneMinusSrcAlpha = 6,
Dst = 7,
OneMinusDst = 8,
DstAlpha = 9,
OneMinusDstAlpha = 10,
SrcAlphaSaturated = 11,
Constant = 12,
OneMinusConstant = 13,
Src1 = 14,
OneMinusSrc1 = 15,
Src1Alpha = 16,
OneMinusSrc1Alpha = 17,
}Variants§
Undefined = 0
Zero = 1
One = 2
Src = 3
OneMinusSrc = 4
SrcAlpha = 5
OneMinusSrcAlpha = 6
Dst = 7
OneMinusDst = 8
DstAlpha = 9
OneMinusDstAlpha = 10
SrcAlphaSaturated = 11
Constant = 12
OneMinusConstant = 13
Src1 = 14
OneMinusSrc1 = 15
Src1Alpha = 16
OneMinusSrc1Alpha = 17
Implementations§
Trait Implementations§
Source§impl Clone for WGPUBlendFactor
impl Clone for WGPUBlendFactor
Source§fn clone(&self) -> WGPUBlendFactor
fn clone(&self) -> WGPUBlendFactor
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 WGPUBlendFactor
impl Debug for WGPUBlendFactor
Source§impl Display for WGPUBlendFactor
impl Display for WGPUBlendFactor
Source§impl<'_derivative_strum> From<&'_derivative_strum WGPUBlendFactor> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum WGPUBlendFactor> for &'static str
Source§fn from(x: &'_derivative_strum WGPUBlendFactor) -> &'static str
fn from(x: &'_derivative_strum WGPUBlendFactor) -> &'static str
Converts to this type from the input type.
Source§impl From<WGPUBlendFactor> for &'static str
impl From<WGPUBlendFactor> for &'static str
Source§fn from(x: WGPUBlendFactor) -> &'static str
fn from(x: WGPUBlendFactor) -> &'static str
Converts to this type from the input type.
Source§impl FromStr for WGPUBlendFactor
impl FromStr for WGPUBlendFactor
Source§impl Hash for WGPUBlendFactor
impl Hash for WGPUBlendFactor
Source§impl PartialEq for WGPUBlendFactor
impl PartialEq for WGPUBlendFactor
Source§impl TryFrom<&str> for WGPUBlendFactor
impl TryFrom<&str> for WGPUBlendFactor
impl Copy for WGPUBlendFactor
impl Eq for WGPUBlendFactor
impl StructuralPartialEq for WGPUBlendFactor
Auto Trait Implementations§
impl Freeze for WGPUBlendFactor
impl RefUnwindSafe for WGPUBlendFactor
impl Send for WGPUBlendFactor
impl Sync for WGPUBlendFactor
impl Unpin for WGPUBlendFactor
impl UnwindSafe for WGPUBlendFactor
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