pub enum AttributeSelectorMatcherValue {
Equals,
Tilde,
Bar,
Caret,
Dollar,
Asterisk,
}
Variants§
Implementations§
source§impl AttributeSelectorMatcherValue
impl AttributeSelectorMatcherValue
sourcepub const fn is_asterisk(&self) -> bool
pub const fn is_asterisk(&self) -> bool
Returns true
if self
is of variant Asterisk
.
Trait Implementations§
source§impl Clone for AttributeSelectorMatcherValue
impl Clone for AttributeSelectorMatcherValue
source§fn clone(&self) -> AttributeSelectorMatcherValue
fn clone(&self) -> AttributeSelectorMatcherValue
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<'de> Deserialize<'de> for AttributeSelectorMatcherValue
impl<'de> Deserialize<'de> for AttributeSelectorMatcherValue
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl EqIgnoreSpan for AttributeSelectorMatcherValue
impl EqIgnoreSpan for AttributeSelectorMatcherValue
fn eq_ignore_span(&self, other: &Self) -> bool
source§impl Hash for AttributeSelectorMatcherValue
impl Hash for AttributeSelectorMatcherValue
source§impl Ord for AttributeSelectorMatcherValue
impl Ord for AttributeSelectorMatcherValue
source§fn cmp(&self, other: &AttributeSelectorMatcherValue) -> Ordering
fn cmp(&self, other: &AttributeSelectorMatcherValue) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<AttributeSelectorMatcherValue> for AttributeSelectorMatcherValue
impl PartialEq<AttributeSelectorMatcherValue> for AttributeSelectorMatcherValue
source§fn eq(&self, other: &AttributeSelectorMatcherValue) -> bool
fn eq(&self, other: &AttributeSelectorMatcherValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<AttributeSelectorMatcherValue> for AttributeSelectorMatcherValue
impl PartialOrd<AttributeSelectorMatcherValue> for AttributeSelectorMatcherValue
source§fn partial_cmp(&self, other: &AttributeSelectorMatcherValue) -> Option<Ordering>
fn partial_cmp(&self, other: &AttributeSelectorMatcherValue) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more