Enum swc_css_ast::Value
source · [−]pub enum Value {
Show 15 variants
SimpleBlock(SimpleBlock),
Dimension(Dimension),
Number(Number),
Percent(Percent),
Ratio(Ratio),
Hash(HashValue),
Ident(Ident),
DashedIdent(DashedIdent),
Str(Str),
Function(Function),
Bin(BinValue),
Delimiter(Delimiter),
Tokens(Tokens),
AtText(AtTextValue),
Url(Url),
}
Variants
SimpleBlock(SimpleBlock)
Dimension(Dimension)
Number(Number)
Percent(Percent)
Ratio(Ratio)
Hash(HashValue)
Ident(Ident)
DashedIdent(DashedIdent)
Str(Str)
Function(Function)
Bin(BinValue)
Delimiter(Delimiter)
Tokens(Tokens)
AtText(AtTextValue)
Url(Url)
Trait Implementations
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
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Value
impl UnwindSafe for Value
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more