Trait range_collections::range_set::RangeSetEntry [−][src]
pub trait RangeSetEntry: Ord {
fn min_value() -> Self;
fn is_min_value(&self) -> bool;
}Expand description
trait for types that can be entries of range sets
they must have an order and a minimum value.
Required methods
fn is_min_value(&self) -> bool
fn is_min_value(&self) -> bool
checks if this is the minimum value
this is to be able to check for minimum without having to create a value