Struct select::predicate::Text [] [src]

pub struct Text;

Matches any Text Node.

Trait Implementations

impl PartialEq for Text
[src]

fn eq(&self, __arg_0: &Text) -> bool

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

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Debug for Text
[src]

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

Formats the value using the given formatter.

impl Clone for Text
[src]

fn clone(&self) -> Text

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 Copy for Text
[src]

impl Predicate for Text
[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>