pub enum OperationType {
None,
Union,
Intersection,
Blocked,
Continue,
Opposite,
}Expand description
What a single side of a turn does for the traversal — the role this geometry’s segment plays at the turn.
Mirrors operation_type in
boost/geometry/algorithms/detail/overlay/overlay_type.hpp:31-39.
Variants§
None
Unset. Boost’s operation_none.
Union
Take this direction when computing a union. Boost’s
operation_union.
Intersection
Take this direction when computing an intersection. Boost’s
operation_intersection.
Blocked
This direction is blocked — traversal must not leave along it.
Boost’s operation_blocked.
Continue
Continue straight along the same ring (collinear continuation).
Boost’s operation_continue.
Opposite
The two geometries run in opposite directions here. Boost’s
operation_opposite.
Trait Implementations§
Source§impl Clone for OperationType
impl Clone for OperationType
Source§fn clone(&self) -> OperationType
fn clone(&self) -> OperationType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OperationType
Source§impl Debug for OperationType
impl Debug for OperationType
Source§impl Default for OperationType
impl Default for OperationType
Source§fn default() -> OperationType
fn default() -> OperationType
Returns the “default value” for a type. Read more
impl Eq for OperationType
Source§impl Hash for OperationType
impl Hash for OperationType
Source§impl PartialEq for OperationType
impl PartialEq for OperationType
impl StructuralPartialEq for OperationType
Auto Trait Implementations§
impl Freeze for OperationType
impl RefUnwindSafe for OperationType
impl Send for OperationType
impl Sync for OperationType
impl Unpin for OperationType
impl UnsafeUnpin for OperationType
impl UnwindSafe for OperationType
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