pub trait MaybeEmpty {
// Required method
fn is_empty(&self) -> bool;
}Expand description
Defines an item that may be empty and a way to query it.
This trait is intended to fix degeneracy of bounds so we can differentiate between a lack of a bound because the interval is empty or has a bound at infinity.
HalfInterval can not be empty so we shouldn’t need it and can just skip strait to determinite functions for it.