Trait IsntIteratorExt

Source
pub trait IsntIteratorExt<T: ?Sized>: Sealed<T> + Iterator {
    // Required methods
    fn not_all<F>(&mut self, f: F) -> bool
       where F: FnMut(Self::Item) -> bool,
             Self: Sized;
    fn not_any<F>(&mut self, f: F) -> bool
       where F: FnMut(Self::Item) -> bool,
             Self: Sized;
    fn not_eq<I>(self, other: I) -> bool
       where I: IntoIterator,
             Self::Item: PartialEq<<I as IntoIterator>::Item>,
             Self: Sized;
    fn not_ne<I>(self, other: I) -> bool
       where I: IntoIterator,
             Self::Item: PartialEq<<I as IntoIterator>::Item>,
             Self: Sized;
    fn not_lt<I>(self, other: I) -> bool
       where I: IntoIterator,
             Self::Item: PartialOrd<<I as IntoIterator>::Item>,
             Self: Sized;
    fn not_le<I>(self, other: I) -> bool
       where I: IntoIterator,
             Self::Item: PartialOrd<<I as IntoIterator>::Item>,
             Self: Sized;
    fn not_gt<I>(self, other: I) -> bool
       where I: IntoIterator,
             Self::Item: PartialOrd<<I as IntoIterator>::Item>,
             Self: Sized;
    fn not_ge<I>(self, other: I) -> bool
       where I: IntoIterator,
             Self::Item: PartialOrd<<I as IntoIterator>::Item>,
             Self: Sized;
}
Expand description

Extension for Iterator

Required Methods§

Source

fn not_all<F>(&mut self, f: F) -> bool
where F: FnMut(Self::Item) -> bool, Self: Sized,

The negation of all

Source

fn not_any<F>(&mut self, f: F) -> bool
where F: FnMut(Self::Item) -> bool, Self: Sized,

The negation of any

Source

fn not_eq<I>(self, other: I) -> bool
where I: IntoIterator, Self::Item: PartialEq<<I as IntoIterator>::Item>, Self: Sized,

The negation of eq

Source

fn not_ne<I>(self, other: I) -> bool
where I: IntoIterator, Self::Item: PartialEq<<I as IntoIterator>::Item>, Self: Sized,

The negation of ne

Source

fn not_lt<I>(self, other: I) -> bool
where I: IntoIterator, Self::Item: PartialOrd<<I as IntoIterator>::Item>, Self: Sized,

The negation of lt

Source

fn not_le<I>(self, other: I) -> bool
where I: IntoIterator, Self::Item: PartialOrd<<I as IntoIterator>::Item>, Self: Sized,

The negation of le

Source

fn not_gt<I>(self, other: I) -> bool
where I: IntoIterator, Self::Item: PartialOrd<<I as IntoIterator>::Item>, Self: Sized,

The negation of gt

Source

fn not_ge<I>(self, other: I) -> bool
where I: IntoIterator, Self::Item: PartialOrd<<I as IntoIterator>::Item>, Self: Sized,

The negation of ge

Implementors§

Source§

impl<T> IsntIteratorExt<T> for T
where T: Iterator + ?Sized,