Trait math::traits::Slicing

source ·
pub trait Slicing<I, O> {
    // Required method
    fn slice(self, input: I) -> O;
}

Required Methods§

source

fn slice(self, input: I) -> O

Implementations on Foreign Types§

source§

impl<E> Slicing<&ContiguousIntegerSet<E>, Option<ContiguousIntegerSet<E>>> for Range<usize>

source§

impl<E> Slicing<&OrderedIntegerSet<E>, OrderedIntegerSet<E>> for Range<usize>

source§

fn slice(self, input: &OrderedIntegerSet<E>) -> OrderedIntegerSet<E>

the end index is exclusive

Implementors§