Trait IteratorAssert

Source
pub trait IteratorAssert {
    // Required method
    fn assert(self, assertion: fn(&Self) -> bool) -> Self;
}

Required Methods§

Source

fn assert(self, assertion: fn(&Self) -> bool) -> Self

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<I> IteratorAssert for I
where I: IntoIterator,