Enum swc_css_visit::fields::ComponentValueField
source · pub enum ComponentValueField {
Show 32 variants
PreservedToken,
Function,
SimpleBlock,
AtRule,
QualifiedRule,
ListOfComponentValues,
KeyframeBlock,
Ident,
DashedIdent,
Str,
Url,
Integer,
Number,
Percentage,
Dimension,
LengthPercentage,
FrequencyPercentage,
AnglePercentage,
TimePercentage,
Ratio,
UnicodeRange,
Color,
AlphaValue,
Hue,
CmykComponent,
Delimiter,
CalcSum,
ComplexSelector,
LayerName,
SupportsCondition,
Declaration,
IdSelector,
}
Expand description
This enum represents fields of ComponentValueField
Variants§
PreservedToken
This represents PreservedToken
Function
This represents Function
SimpleBlock
This represents SimpleBlock
AtRule
This represents AtRule
QualifiedRule
This represents QualifiedRule
ListOfComponentValues
This represents ListOfComponentValues
KeyframeBlock
This represents KeyframeBlock
Ident
This represents Ident
DashedIdent
This represents DashedIdent
Str
This represents Str
Url
This represents Url
Integer
This represents Integer
Number
This represents Number
Percentage
This represents Percentage
Dimension
This represents Dimension
LengthPercentage
This represents LengthPercentage
FrequencyPercentage
This represents FrequencyPercentage
AnglePercentage
This represents AnglePercentage
TimePercentage
This represents TimePercentage
Ratio
This represents Ratio
UnicodeRange
This represents UnicodeRange
Color
This represents Color
AlphaValue
This represents AlphaValue
Hue
This represents Hue
CmykComponent
This represents CmykComponent
Delimiter
This represents Delimiter
CalcSum
This represents CalcSum
ComplexSelector
This represents ComplexSelector
LayerName
This represents LayerName
SupportsCondition
This represents SupportsCondition
Declaration
This represents Declaration
IdSelector
This represents IdSelector
Implementations§
Trait Implementations§
source§impl Clone for ComponentValueField
impl Clone for ComponentValueField
source§fn clone(&self) -> ComponentValueField
fn clone(&self) -> ComponentValueField
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ComponentValueField
impl Debug for ComponentValueField
source§impl<'de> Deserialize<'de> for ComponentValueField
impl<'de> Deserialize<'de> for ComponentValueField
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>,
source§impl Hash for ComponentValueField
impl Hash for ComponentValueField
source§impl Ord for ComponentValueField
impl Ord for ComponentValueField
source§fn cmp(&self, other: &ComponentValueField) -> Ordering
fn cmp(&self, other: &ComponentValueField) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for ComponentValueField
impl PartialEq for ComponentValueField
source§fn eq(&self, other: &ComponentValueField) -> bool
fn eq(&self, other: &ComponentValueField) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ComponentValueField
impl PartialOrd for ComponentValueField
source§fn partial_cmp(&self, other: &ComponentValueField) -> Option<Ordering>
fn partial_cmp(&self, other: &ComponentValueField) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read more