pub enum BooleanOp {
Union,
Intersection,
Difference,
}Expand description
Which boolean operation to perform.
Variants§
Union
A ∪ B — points in either polygon.
Intersection
A ∩ B — points in both polygons.
Difference
A \ B — points in A but not B.
Trait Implementations§
impl Copy for BooleanOp
impl Eq for BooleanOp
impl StructuralPartialEq for BooleanOp
Auto Trait Implementations§
impl Forget for BooleanOp
impl Freeze for BooleanOp
impl Move for BooleanOp
impl RefUnwindSafe for BooleanOp
impl Send for BooleanOp
impl Sync for BooleanOp
impl Unpin for BooleanOp
impl UnsafeUnpin for BooleanOp
impl UnwindSafe for BooleanOp
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more