#[non_exhaustive]pub enum BlendFactor {
Zero,
One,
Src,
OneMinusSrc,
Dst,
OneMinusDst,
SrcAlpha,
OneMinusSrcAlpha,
DstAlpha,
OneMinusDstAlpha,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for BlendFactor
impl Clone for BlendFactor
impl Copy for BlendFactor
Source§impl Debug for BlendFactor
impl Debug for BlendFactor
impl Eq for BlendFactor
Source§impl PartialEq for BlendFactor
impl PartialEq for BlendFactor
impl StructuralPartialEq for BlendFactor
Auto Trait Implementations§
impl Forget for BlendFactor
impl Freeze for BlendFactor
impl RefUnwindSafe for BlendFactor
impl Send for BlendFactor
impl Sync for BlendFactor
impl Unpin for BlendFactor
impl UnsafeUnpin for BlendFactor
impl UnwindSafe for BlendFactor
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