Skip to main content

RleByKey

Trait 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>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

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