pub enum RangeCompare {
Disjoint(RangeDisjoint),
Intersect(RangeIntersect),
}
Expand description
Result of comparing a pair of ranges (A,B)
Variants§
Disjoint(RangeDisjoint)
Intersect(RangeIntersect)
Trait Implementations§
Source§impl Debug for RangeCompare
impl Debug for RangeCompare
Source§impl From<RangeDisjoint> for RangeCompare
impl From<RangeDisjoint> for RangeCompare
Source§fn from(disjoint: RangeDisjoint) -> Self
fn from(disjoint: RangeDisjoint) -> Self
Converts to this type from the input type.
Source§impl From<RangeIntersect> for RangeCompare
impl From<RangeIntersect> for RangeCompare
Source§fn from(intersect: RangeIntersect) -> Self
fn from(intersect: RangeIntersect) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RangeCompare
impl PartialEq for RangeCompare
impl Eq for RangeCompare
impl StructuralPartialEq for RangeCompare
Auto Trait Implementations§
impl Freeze for RangeCompare
impl RefUnwindSafe for RangeCompare
impl Send for RangeCompare
impl Sync for RangeCompare
impl Unpin for RangeCompare
impl UnwindSafe for RangeCompare
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