[][src]Struct select::predicate::Attr

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: Clone, V: Clone> Clone for Attr<N, V>[src]

impl<N: Copy, V: Copy> Copy for Attr<N, V>[src]

impl<N: Debug, V: Debug> Debug for Attr<N, V>[src]

impl<N: PartialEq, V: PartialEq> PartialEq<Attr<N, V>> for Attr<N, V>[src]

impl<'a> Predicate for Attr<&'a str, &'a str>[src]

impl<'a> Predicate for Attr<&'a str, ()>[src]

impl<N, V> StructuralPartialEq for Attr<N, V>[src]

Auto Trait Implementations

impl<N, V> RefUnwindSafe for Attr<N, V> where
    N: RefUnwindSafe,
    V: RefUnwindSafe

impl<N, V> Send for Attr<N, V> where
    N: Send,
    V: Send

impl<N, V> Sync for Attr<N, V> where
    N: Sync,
    V: Sync

impl<N, V> Unpin for Attr<N, V> where
    N: Unpin,
    V: Unpin

impl<N, V> UnwindSafe for Attr<N, V> where
    N: UnwindSafe,
    V: 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<F> Predicate for F where
    F: Fn(&Node) -> bool
[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.