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
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.