IterFloat

Trait IterFloat 

Source
pub trait IterFloat:
    Iterator
    + IterExt
    + Sealed {
    // Required method
    fn is_nan(self) -> Map<Self, fn(Self::Item) -> bool>
       where Self: Sized;
}
Expand description

Extension trait for iterators over floating-point numbers.

Required Methods§

Source

fn is_nan(self) -> Map<Self, fn(Self::Item) -> bool>
where Self: Sized,

Checks if all elements in the iterator are NaN.

Implementors§

Source§

impl<'item_ref, I, Item> IterFloat for I
where I: Iterator<Item = &'item_ref Item> + IterExt, Item: Copy + Float + 'item_ref,