Enum swc_css_visit::fields::AtRuleField
source · pub enum AtRuleField {
Span,
Name,
Prelude,
Block,
}
Expand description
This enum represents fields of AtRuleField
Variants§
Span
This represents span
Name
This represents name
Prelude
This represents prelude
Block
This represents block
Implementations§
Trait Implementations§
source§impl Clone for AtRuleField
impl Clone for AtRuleField
source§fn clone(&self) -> AtRuleField
fn clone(&self) -> AtRuleField
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 Debug for AtRuleField
impl Debug for AtRuleField
source§impl<'de> Deserialize<'de> for AtRuleField
impl<'de> Deserialize<'de> for AtRuleField
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 Hash for AtRuleField
impl Hash for AtRuleField
source§impl Ord for AtRuleField
impl Ord for AtRuleField
source§fn cmp(&self, other: &AtRuleField) -> Ordering
fn cmp(&self, other: &AtRuleField) -> 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<AtRuleField> for AtRuleField
impl PartialEq<AtRuleField> for AtRuleField
source§fn eq(&self, other: &AtRuleField) -> bool
fn eq(&self, other: &AtRuleField) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<AtRuleField> for AtRuleField
impl PartialOrd<AtRuleField> for AtRuleField
source§fn partial_cmp(&self, other: &AtRuleField) -> Option<Ordering>
fn partial_cmp(&self, other: &AtRuleField) -> 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