[][src]Trait coitrees::IntWithMax

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.

Associated Constants

const MAX: Self

Loading content...

Provided methods

fn to_usize(self) -> usize

fn from_usize(x: usize) -> Self

fn one() -> Self

Loading content...

Implementations on Foreign Types

impl IntWithMax for usize[src]

impl IntWithMax for u32[src]

impl IntWithMax for u16[src]

Loading content...

Implementors

Loading content...