Skip to main content

RleBy

Trait RleBy 

Source
pub trait RleBy<T, I> {
    // Required method
    fn rle_by<F: FnMut(&T, &T) -> bool>(self, compare: F) -> RleBy<T, I, F> ;
}

Required Methods§

Source

fn rle_by<F: FnMut(&T, &T) -> bool>(self, compare: F) -> RleBy<T, I, F>

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>> RleBy<T, I> for I