Trait range_collections::range_set::RangeSetEntry
source · pub trait RangeSetEntry: Ord {
// Required methods
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§
sourcefn 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