Struct select::predicate::Descendant
[−]
[src]
pub struct Descendant<A, B>(pub A, pub B);
Matches if inner Predicate B
matches the node and A
matches any of the
parents of node.
Trait Implementations
impl<A: Copy, B: Copy> Copy for Descendant<A, B>
[src]
impl<A: Clone, B: Clone> Clone for Descendant<A, B>
[src]
fn clone(&self) -> Descendant<A, B>
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<A: Debug, B: Debug> Debug for Descendant<A, B>
[src]
impl<A: PartialEq, B: PartialEq> PartialEq for Descendant<A, B>
[src]
fn eq(&self, __arg_0: &Descendant<A, B>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Descendant<A, B>) -> bool
This method tests for !=
.