#[repr(transparent)]pub struct WGPUBlendFactor(pub c_int);Tuple Fields§
§0: c_intImplementations§
§impl WGPUBlendFactor
impl WGPUBlendFactor
pub const Undefined: Self = raw::WGPUBlendFactor_WGPUBlendFactor_Undefined
pub const Zero: Self = raw::WGPUBlendFactor_WGPUBlendFactor_Zero
pub const One: Self = raw::WGPUBlendFactor_WGPUBlendFactor_One
pub const Src: Self = raw::WGPUBlendFactor_WGPUBlendFactor_Src
pub const OneMinusSrc: Self = raw::WGPUBlendFactor_WGPUBlendFactor_OneMinusSrc
pub const SrcAlpha: Self = raw::WGPUBlendFactor_WGPUBlendFactor_SrcAlpha
pub const OneMinusSrcAlpha: Self = raw::WGPUBlendFactor_WGPUBlendFactor_OneMinusSrcAlpha
pub const Dst: Self = raw::WGPUBlendFactor_WGPUBlendFactor_Dst
pub const OneMinusDst: Self = raw::WGPUBlendFactor_WGPUBlendFactor_OneMinusDst
pub const DstAlpha: Self = raw::WGPUBlendFactor_WGPUBlendFactor_DstAlpha
pub const OneMinusDstAlpha: Self = raw::WGPUBlendFactor_WGPUBlendFactor_OneMinusDstAlpha
pub const SrcAlphaSaturated: Self = raw::WGPUBlendFactor_WGPUBlendFactor_SrcAlphaSaturated
pub const Constant: Self = raw::WGPUBlendFactor_WGPUBlendFactor_Constant
pub const OneMinusConstant: Self = raw::WGPUBlendFactor_WGPUBlendFactor_OneMinusConstant
pub const Src1: Self = raw::WGPUBlendFactor_WGPUBlendFactor_Src1
pub const OneMinusSrc1: Self = raw::WGPUBlendFactor_WGPUBlendFactor_OneMinusSrc1
pub const Src1Alpha: Self = raw::WGPUBlendFactor_WGPUBlendFactor_Src1Alpha
pub const OneMinusSrc1Alpha: Self = raw::WGPUBlendFactor_WGPUBlendFactor_OneMinusSrc1Alpha
Trait Implementations§
Source§impl Clone for WGPUBlendFactor
impl Clone for WGPUBlendFactor
Source§fn clone(&self) -> WGPUBlendFactor
fn clone(&self) -> WGPUBlendFactor
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 WGPUBlendFactor
impl Debug for WGPUBlendFactor
§impl Default for WGPUBlendFactor
impl Default for WGPUBlendFactor
Source§impl Hash for WGPUBlendFactor
impl Hash for WGPUBlendFactor
Source§impl Ord for WGPUBlendFactor
impl Ord for WGPUBlendFactor
Source§fn cmp(&self, other: &WGPUBlendFactor) -> Ordering
fn cmp(&self, other: &WGPUBlendFactor) -> 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 WGPUBlendFactor
impl PartialEq for WGPUBlendFactor
Source§impl PartialOrd for WGPUBlendFactor
impl PartialOrd 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