Trait nekolib::algo::RleByKey

source ·
pub trait RleByKey<T, I> {
    // Required method
    fn rle_by_key<U: PartialEq, K: FnMut(&T) -> U>(
        self,
        key: K
    ) -> RleByKey<T, I, K> ;
}

Required Methods§

source

fn rle_by_key<U: PartialEq, K: FnMut(&T) -> U>( self, key: K ) -> RleByKey<T, I, K>

Implementors§

source§

impl<T, I: Iterator<Item = T>> RleByKey<T, I> for I