Skip to main content

IterExt

Trait IterExt 

Source
pub trait IterExt
where Self: Iterator + Sealed,
{ // Required methods fn all_true(&mut self) -> bool where Self: Sized, <Self as Iterator>::Item: ToRef<bool>; fn any_true(&mut self) -> bool where Self: Sized, <Self as Iterator>::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 as Iterator>::Item: ToRef<bool>,

True only if all elemts are true.

Source

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

True if any elemts is true.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

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