Enum web_sys::GpuBlendFactor
source · [−]pub enum GpuBlendFactor {
Show 13 variants
Zero,
One,
Src,
OneMinusSrc,
SrcAlpha,
OneMinusSrcAlpha,
Dst,
OneMinusDst,
DstAlpha,
OneMinusDstAlpha,
SrcAlphaSaturated,
Constant,
OneMinusConstant,
// some variants omitted
}
Expand description
The GpuBlendFactor
enum.
This API requires the following crate features to be activated: GpuBlendFactor
This API is unstable and requires --cfg=web_sys_unstable_apis
to be activated, as
described in the wasm-bindgen
guide
Variants
Zero
One
Src
OneMinusSrc
SrcAlpha
OneMinusSrcAlpha
Dst
OneMinusDst
DstAlpha
OneMinusDstAlpha
SrcAlphaSaturated
Constant
OneMinusConstant
Implementations
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for GpuBlendFactor
impl Send for GpuBlendFactor
impl Sync for GpuBlendFactor
impl Unpin for GpuBlendFactor
impl UnwindSafe for GpuBlendFactor
Blanket Implementations
Mutably borrows from an owned value. Read more
type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
Same as IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
. Read more