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
Source§impl Serialize for BlendOp
impl Serialize for BlendOp
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for BlendOp
Auto Trait Implementations§
impl Forget for BlendOp
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