pub enum SelfIntersectsInclude {
All,
Local,
Global,
}
Expand description
Enum to control which self intersects to include.
Variants§
All
Include all (local and global) self intersects.
Local
Include only local self intersects (defined as being between two adjacent polyline segments).
Global
Include only global self intersects (defined as being between two non-adjacent polyline segments).
Trait Implementations§
source§impl Clone for SelfIntersectsInclude
impl Clone for SelfIntersectsInclude
source§fn clone(&self) -> SelfIntersectsInclude
fn clone(&self) -> SelfIntersectsInclude
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SelfIntersectsInclude
impl Debug for SelfIntersectsInclude
source§impl Hash for SelfIntersectsInclude
impl Hash for SelfIntersectsInclude
source§impl Ord for SelfIntersectsInclude
impl Ord for SelfIntersectsInclude
source§fn cmp(&self, other: &SelfIntersectsInclude) -> Ordering
fn cmp(&self, other: &SelfIntersectsInclude) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for SelfIntersectsInclude
impl PartialEq for SelfIntersectsInclude
source§fn eq(&self, other: &SelfIntersectsInclude) -> bool
fn eq(&self, other: &SelfIntersectsInclude) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SelfIntersectsInclude
impl PartialOrd for SelfIntersectsInclude
source§fn partial_cmp(&self, other: &SelfIntersectsInclude) -> Option<Ordering>
fn partial_cmp(&self, other: &SelfIntersectsInclude) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for SelfIntersectsInclude
impl Eq for SelfIntersectsInclude
impl StructuralPartialEq for SelfIntersectsInclude
Auto Trait Implementations§
impl RefUnwindSafe for SelfIntersectsInclude
impl Send for SelfIntersectsInclude
impl Sync for SelfIntersectsInclude
impl Unpin for SelfIntersectsInclude
impl UnwindSafe for SelfIntersectsInclude
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