pub enum BlendOp {
Add,
Subtract,
ReverseSubtract,
Min,
Max,
}Expand description
How the two weighted terms of a blend are combined.
Variants§
Add
source + destination.
Subtract
source - destination.
ReverseSubtract
destination - source.
Min
The smaller of the two unweighted values.
Max
The larger of the two unweighted values.
Trait Implementations§
impl Copy for BlendOp
impl Eq for BlendOp
impl StructuralPartialEq for BlendOp
Auto Trait Implementations§
impl Freeze for BlendOp
impl RefUnwindSafe for BlendOp
impl Send for BlendOp
impl Sync for BlendOp
impl Unpin for BlendOp
impl UnsafeUnpin for BlendOp
impl UnwindSafe for BlendOp
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