pub enum PathBooleanOp {
Union,
Intersection,
Difference,
Xor,
}Expand description
Region combination applied by Path2D::boolean.
Variants§
Union
Area covered by either operand.
Intersection
Area covered by both operands.
Difference
Area covered by the first operand and not by the second.
Xor
Area covered by exactly one operand.
Trait Implementations§
Source§impl Clone for PathBooleanOp
impl Clone for PathBooleanOp
impl Copy for PathBooleanOp
Source§impl Debug for PathBooleanOp
impl Debug for PathBooleanOp
impl Eq for PathBooleanOp
Source§impl PartialEq for PathBooleanOp
impl PartialEq for PathBooleanOp
impl StructuralPartialEq for PathBooleanOp
Auto Trait Implementations§
impl Forget for PathBooleanOp
impl Freeze for PathBooleanOp
impl Move for PathBooleanOp
impl RefUnwindSafe for PathBooleanOp
impl Send for PathBooleanOp
impl Sync for PathBooleanOp
impl Unpin for PathBooleanOp
impl UnsafeUnpin for PathBooleanOp
impl UnwindSafe for PathBooleanOp
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