pub enum OverlapKind {
None,
Equal,
Contains,
ContainedBy,
Partial,
}Expand description
Describes the overlap relationship between two ranges.
Variants§
None
No overlap at all
Equal
The ranges are exactly equal
Contains
The first range fully contains the second
ContainedBy
The first range is fully contained by the second
Partial
Partial overlap (neither contains the other)
Trait Implementations§
Source§impl Clone for OverlapKind
impl Clone for OverlapKind
Source§fn clone(&self) -> OverlapKind
fn clone(&self) -> OverlapKind
Returns a duplicate 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 OverlapKind
impl Debug for OverlapKind
Source§impl PartialEq for OverlapKind
impl PartialEq for OverlapKind
impl Copy for OverlapKind
impl Eq for OverlapKind
impl StructuralPartialEq for OverlapKind
Auto Trait Implementations§
impl Freeze for OverlapKind
impl RefUnwindSafe for OverlapKind
impl Send for OverlapKind
impl Sync for OverlapKind
impl Unpin for OverlapKind
impl UnsafeUnpin for OverlapKind
impl UnwindSafe for OverlapKind
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