Struct selectors::parser::AttrSelector [] [src]

pub struct AttrSelector<Impl: SelectorImpl> {
    pub name: Impl::LocalName,
    pub lower_name: Impl::LocalName,
    pub namespace: NamespaceConstraint<Impl>,
}

Fields

name: Impl::LocalName lower_name: Impl::LocalName namespace: NamespaceConstraint<Impl>

Trait Implementations

impl<Impl: Debug + SelectorImpl> Debug for AttrSelector<Impl> where Impl::LocalName: Debug
[src]

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

Formats the value using the given formatter.

impl<Impl: Hash + SelectorImpl> Hash for AttrSelector<Impl> where Impl::LocalName: Hash
[src]

fn hash<__HImpl: Hasher>(&self, __arg_0: &mut __HImpl)

Feeds this value into the state given, updating the hasher as necessary.

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0

Feeds a slice of this type into the state provided.

impl<Impl: Clone + SelectorImpl> Clone for AttrSelector<Impl> where Impl::LocalName: Clone
[src]

fn clone(&self) -> AttrSelector<Impl>

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<Impl: PartialEq + SelectorImpl> PartialEq for AttrSelector<Impl> where Impl::LocalName: PartialEq
[src]

fn eq(&self, __arg_0: &AttrSelector<Impl>) -> bool

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

fn ne(&self, __arg_0: &AttrSelector<Impl>) -> bool

This method tests for !=.

impl<Impl: Eq + SelectorImpl> Eq for AttrSelector<Impl> where Impl::LocalName: Eq
[src]