Trait IntoIndex

Source
pub trait IntoIndex<I> {
    // Required method
    fn into_index(self, len: I) -> I;
}

Required Methods§

Source

fn into_index(self, len: I) -> I

Implementations on Foreign Types§

Source§

impl IntoIndex<usize> for usize

Source§

fn into_index(self, _: Self) -> Self

Implementors§