[][src]Enum selectors::attr::NamespaceConstraint

pub enum NamespaceConstraint<NamespaceUrl> {
    Any,
    Specific(NamespaceUrl),
}

Variants

Any
Specific(NamespaceUrl)

Empty string for no namespace

Trait Implementations

impl<NamespaceUrl: Clone> Clone for NamespaceConstraint<NamespaceUrl>[src]

impl<NamespaceUrl: Eq> Eq for NamespaceConstraint<NamespaceUrl>[src]

impl<NamespaceUrl: PartialEq> PartialEq<NamespaceConstraint<NamespaceUrl>> for NamespaceConstraint<NamespaceUrl>[src]

impl<NamespaceUrl> StructuralEq for NamespaceConstraint<NamespaceUrl>[src]

impl<NamespaceUrl> StructuralPartialEq for NamespaceConstraint<NamespaceUrl>[src]

Auto Trait Implementations

impl<NamespaceUrl> RefUnwindSafe for NamespaceConstraint<NamespaceUrl> where
    NamespaceUrl: RefUnwindSafe

impl<NamespaceUrl> Send for NamespaceConstraint<NamespaceUrl> where
    NamespaceUrl: Send

impl<NamespaceUrl> Sync for NamespaceConstraint<NamespaceUrl> where
    NamespaceUrl: Sync

impl<NamespaceUrl> Unpin for NamespaceConstraint<NamespaceUrl> where
    NamespaceUrl: Unpin

impl<NamespaceUrl> UnwindSafe for NamespaceConstraint<NamespaceUrl> where
    NamespaceUrl: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.