pub trait Bounded {
type Bound: Ord + Eq;
// Required methods
fn lo(&self) -> Self::Bound;
fn hi(&self) -> Self::Bound;
fn to(&self, other: Self) -> Self;
fn overlaps(&self, other: Self) -> bool;
}
pub trait Bounded {
type Bound: Ord + Eq;
// Required methods
fn lo(&self) -> Self::Bound;
fn hi(&self) -> Self::Bound;
fn to(&self, other: Self) -> Self;
fn overlaps(&self, other: Self) -> bool;
}