Trait IntWithMax
coitrees
pub trait IntWithMax: TryInto<usize> + TryFrom<usize> + Copy + Default + PartialEq + Ord + AddAssign + SubAssign { const MAX: Self; fn to_usize(self) -> usize { ... } fn from_usize(x: usize) -> Self { ... } fn one() -> Self { ... } }
A trait facilitating COITree index types.
const MAX: Self
fn to_usize(self) -> usize
fn from_usize(x: usize) -> Self
fn one() -> Self
impl IntWithMax for usize
const MAX: usize
impl IntWithMax for u32
const MAX: u32
impl IntWithMax for u16
const MAX: u16