IterExt

Trait IterExt 

Source
pub trait IterExt: Iterator + Sealed {
    // Required methods
    fn all_true(&mut self) -> bool
       where Self: Sized,
             Self::Item: ToRef<bool>;
    fn any_true(&mut self) -> bool
       where Self: Sized,
             Self::Item: ToRef<bool>;
}
Expand description

Extension trait for iterators over floating-point numbers.

Required Methods§

Source

fn all_true(&mut self) -> bool
where Self: Sized, Self::Item: ToRef<bool>,

True only if all elemts are true.

Source

fn any_true(&mut self) -> bool
where Self: Sized, Self::Item: ToRef<bool>,

True if any elemts is true.

Implementors§

Source§

impl<'item_ref, I> IterExt for I
where I: Iterator,