pub enum LogicOp {
Show 16 variants
Clear = 0,
And = 1,
AndReverse = 2,
Copy = 3,
AndInverted = 4,
NoOp = 5,
Xor = 6,
Or = 7,
Nor = 8,
Equivalent = 9,
Invert = 10,
OrReverse = 11,
CopyInverted = 12,
OrInverted = 13,
Nand = 14,
Set = 15,
}
Expand description
Logic operations used for specifying blend equations.
Variants§
Clear = 0
And = 1
AndReverse = 2
Copy = 3
AndInverted = 4
NoOp = 5
Xor = 6
Or = 7
Nor = 8
Equivalent = 9
Invert = 10
OrReverse = 11
CopyInverted = 12
OrInverted = 13
Nand = 14
Set = 15
Trait Implementations§
impl Eq for LogicOp
impl StructuralPartialEq for LogicOp
Auto Trait Implementations§
impl Freeze for LogicOp
impl RefUnwindSafe for LogicOp
impl Send for LogicOp
impl Sync for LogicOp
impl Unpin for LogicOp
impl UnwindSafe for LogicOp
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