Struct select::predicate::Attr
[−]
[src]
pub struct Attr<N, V>(pub N, pub V);
Matches Element Node containing attribute N
with value V
if V
is an
&str
, or any value if V
is ()
.
Trait Implementations
impl<N: PartialEq, V: PartialEq> PartialEq for Attr<N, V>
[src]
fn eq(&self, __arg_0: &Attr<N, V>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Attr<N, V>) -> bool
This method tests for !=
.
impl<N: Debug, V: Debug> Debug for Attr<N, V>
[src]
impl<N: Clone, V: Clone> Clone for Attr<N, V>
[src]
fn clone(&self) -> Attr<N, V>
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