Struct select::predicate::Not [] [src]

pub struct Not<T>(pub T);

Matches if the Predicate T does not match.

Trait Implementations

impl<T: PartialEq> PartialEq for Not<T>
[src]

fn eq(&self, __arg_0: &Not<T>) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Not<T>) -> bool

This method tests for !=.

impl<T: Debug> Debug for Not<T>
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl<T: Clone> Clone for Not<T>
[src]

fn clone(&self) -> Not<T>

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl<T: Copy> Copy for Not<T>
[src]

impl<T: Predicate> Predicate for Not<T>
[src]

fn matches(&self, node: &Node) -> bool

fn or<T: Predicate>(self, other: T) -> Or<Self, T>

fn and<T: Predicate>(self, other: T) -> And<Self, T>

fn not(self) -> Not<Self>