Struct predicates::boolean::NotPredicate[][src]

pub struct NotPredicate<M, Item> where
    M: Predicate<Item>,
    Item: ?Sized
{ /* fields omitted */ }

Predicate that returns a Predicate taking the logical NOT of the result.

This is created by the Predicate::not function.

Implementations

impl<M, Item> NotPredicate<M, Item> where
    M: Predicate<Item>,
    Item: ?Sized
[src]

pub fn new(inner: M) -> NotPredicate<M, Item>[src]

Create a new NotPredicate over predicate inner.

Trait Implementations

impl<M: Clone, Item> Clone for NotPredicate<M, Item> where
    M: Predicate<Item>,
    Item: Clone + ?Sized
[src]

impl<M: Copy, Item> Copy for NotPredicate<M, Item> where
    M: Predicate<Item>,
    Item: Copy + ?Sized
[src]

impl<M: Debug, Item> Debug for NotPredicate<M, Item> where
    M: Predicate<Item>,
    Item: Debug + ?Sized
[src]

impl<M, Item> Display for NotPredicate<M, Item> where
    M: Predicate<Item>,
    Item: ?Sized
[src]

impl<M: Eq, Item> Eq for NotPredicate<M, Item> where
    M: Predicate<Item>,
    Item: Eq + ?Sized
[src]

impl<M: PartialEq, Item> PartialEq<NotPredicate<M, Item>> for NotPredicate<M, Item> where
    M: Predicate<Item>,
    Item: PartialEq + ?Sized
[src]

impl<M, Item> Predicate<Item> for NotPredicate<M, Item> where
    M: Predicate<Item>,
    Item: ?Sized
[src]

impl<M, Item> PredicateReflection for NotPredicate<M, Item> where
    M: Predicate<Item>,
    Item: ?Sized
[src]

impl<M, Item> StructuralEq for NotPredicate<M, Item> where
    M: Predicate<Item>,
    Item: ?Sized
[src]

impl<M, Item> StructuralPartialEq for NotPredicate<M, Item> where
    M: Predicate<Item>,
    Item: ?Sized
[src]

Auto Trait Implementations

impl<M, Item: ?Sized> RefUnwindSafe for NotPredicate<M, Item> where
    Item: RefUnwindSafe,
    M: RefUnwindSafe

impl<M, Item: ?Sized> Send for NotPredicate<M, Item> where
    Item: Send,
    M: Send

impl<M, Item: ?Sized> Sync for NotPredicate<M, Item> where
    Item: Sync,
    M: Sync

impl<M, Item: ?Sized> Unpin for NotPredicate<M, Item> where
    Item: Unpin,
    M: Unpin

impl<M, Item: ?Sized> UnwindSafe for NotPredicate<M, Item> where
    Item: UnwindSafe,
    M: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<P, Item> PredicateBooleanExt<Item> for P where
    Item: ?Sized,
    P: Predicate<Item>, 
[src]

impl<P, Item> PredicateNameExt<Item> for P where
    Item: ?Sized,
    P: Predicate<Item>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.