Struct select::predicate::Descendant
source · pub struct Descendant<A, B>(pub A, pub B);
Expand description
Matches if inner Predicate B
matches the node and A
matches any of the
parents of node.
Tuple Fields§
§0: A
§1: B
Trait Implementations§
source§impl<A: Clone, B: Clone> Clone for Descendant<A, B>
impl<A: Clone, B: Clone> Clone for Descendant<A, B>
source§fn clone(&self) -> Descendant<A, B>
fn clone(&self) -> Descendant<A, B>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more