Enum selectors::attr::AttrSelectorOperation
source · pub enum AttrSelectorOperation<AttrValue> {
Exists,
WithValue {
operator: AttrSelectorOperator,
case_sensitivity: CaseSensitivity,
value: AttrValue,
},
}
Variants§
Implementations§
Trait Implementations§
source§impl<AttrValue: Clone> Clone for AttrSelectorOperation<AttrValue>
impl<AttrValue: Clone> Clone for AttrSelectorOperation<AttrValue>
source§fn clone(&self) -> AttrSelectorOperation<AttrValue>
fn clone(&self) -> AttrSelectorOperation<AttrValue>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<AttrValue: PartialEq> PartialEq<AttrSelectorOperation<AttrValue>> for AttrSelectorOperation<AttrValue>
impl<AttrValue: PartialEq> PartialEq<AttrSelectorOperation<AttrValue>> for AttrSelectorOperation<AttrValue>
source§fn eq(&self, other: &AttrSelectorOperation<AttrValue>) -> bool
fn eq(&self, other: &AttrSelectorOperation<AttrValue>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.