Enum range_set::range_compare::RangeCompare
[−]
[src]
pub enum RangeCompare { Disjoint(RangeDisjoint), Intersect(RangeIntersect), }
Result of comparing a pair of ranges (A,B)
Variants
Disjoint(RangeDisjoint)
Intersect(RangeIntersect)
Trait Implementations
impl Debug for RangeCompare
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Eq for RangeCompare
[src]
impl PartialEq for RangeCompare
[src]
fn eq(&self, __arg_0: &RangeCompare) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &RangeCompare) -> bool
[src]
This method tests for !=
.
impl From<RangeDisjoint> for RangeCompare
[src]
fn from(disjoint: RangeDisjoint) -> Self
[src]
Performs the conversion.
impl From<RangeIntersect> for RangeCompare
[src]
fn from(intersect: RangeIntersect) -> Self
[src]
Performs the conversion.