Enum selectors::parser::NamespaceConstraint
[−]
[src]
pub enum NamespaceConstraint<Impl: SelectorImpl> { Any, Specific(Namespace<Impl>), }
Variants
Any
Specific(Namespace<Impl>)
Trait Implementations
impl<Impl: Debug + SelectorImpl> Debug for NamespaceConstraint<Impl>
[src]
impl<Impl: Hash + SelectorImpl> Hash for NamespaceConstraint<Impl>
[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 NamespaceConstraint<Impl>
[src]
fn clone(&self) -> NamespaceConstraint<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 NamespaceConstraint<Impl>
[src]
fn eq(&self, __arg_0: &NamespaceConstraint<Impl>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &NamespaceConstraint<Impl>) -> bool
This method tests for !=
.