Struct select::predicate::Name
[−]
[src]
pub struct Name<T>(pub T);
Matches Element Node with name T
.
Trait Implementations
impl<T: Copy> Copy for Name<T>
[src]
impl<T: Clone> Clone for Name<T>
[src]
fn clone(&self) -> Name<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: Debug> Debug for Name<T>
[src]
impl<T: PartialEq> PartialEq for Name<T>
[src]
fn eq(&self, __arg_0: &Name<T>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Name<T>) -> bool
This method tests for !=
.
impl<'a> Predicate for Name<&'a str>
[src]
fn matches(&self, node: &Node) -> bool
fn or<T: Predicate>(self, other: T) -> Or<Self, T> where
Self: Sized,
Self: Sized,
fn and<T: Predicate>(self, other: T) -> And<Self, T> where
Self: Sized,
Self: Sized,
fn not(self) -> Not<Self> where
Self: Sized,
Self: Sized,
fn child<T: Predicate>(self, other: T) -> Child<Self, T> where
Self: Sized,
Self: Sized,
fn descendant<T: Predicate>(self, other: T) -> Descendant<Self, T> where
Self: Sized,
Self: Sized,