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 for AttrSelectorOperation<AttrValue>
impl<AttrValue: PartialEq> PartialEq for AttrSelectorOperation<AttrValue>
source§fn eq(&self, other: &AttrSelectorOperation<AttrValue>) -> bool
fn eq(&self, other: &AttrSelectorOperation<AttrValue>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl<AttrValue: Eq> Eq for AttrSelectorOperation<AttrValue>
impl<AttrValue> StructuralPartialEq for AttrSelectorOperation<AttrValue>
Auto Trait Implementations§
impl<AttrValue> Freeze for AttrSelectorOperation<AttrValue>where
AttrValue: Freeze,
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)