[][src]Enum selectors::attr::AttrSelectorOperation

pub enum AttrSelectorOperation<AttrValue> {
    Exists,
    WithValue {
        operator: AttrSelectorOperator,
        case_sensitivity: CaseSensitivity,
        expected_value: AttrValue,
    },
}

Variants

Exists
WithValue

Fields of WithValue

operator: AttrSelectorOperatorcase_sensitivity: CaseSensitivityexpected_value: AttrValue

Methods

impl<AttrValue> AttrSelectorOperation<AttrValue>[src]

pub fn eval_str(&self, element_attr_value: &str) -> bool where
    AttrValue: AsRef<str>, 
[src]

Trait Implementations

impl<AttrValue: Clone> Clone for AttrSelectorOperation<AttrValue>[src]

impl<AttrValue: Eq> Eq for AttrSelectorOperation<AttrValue>[src]

impl<AttrValue: PartialEq> PartialEq<AttrSelectorOperation<AttrValue>> for AttrSelectorOperation<AttrValue>[src]

impl<AttrValue> StructuralEq for AttrSelectorOperation<AttrValue>[src]

impl<AttrValue> StructuralPartialEq for AttrSelectorOperation<AttrValue>[src]

Auto Trait Implementations

impl<AttrValue> RefUnwindSafe for AttrSelectorOperation<AttrValue> where
    AttrValue: RefUnwindSafe

impl<AttrValue> Send for AttrSelectorOperation<AttrValue> where
    AttrValue: Send

impl<AttrValue> Sync for AttrSelectorOperation<AttrValue> where
    AttrValue: Sync

impl<AttrValue> Unpin for AttrSelectorOperation<AttrValue> where
    AttrValue: Unpin

impl<AttrValue> UnwindSafe for AttrSelectorOperation<AttrValue> where
    AttrValue: 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.