Struct swc_css_ast::CalcOperator
source · pub struct CalcOperator {
pub span: Span,
pub value: CalcOperatorType,
}
Fields§
§span: Span
§value: CalcOperatorType
Trait Implementations§
source§impl Clone for CalcOperator
impl Clone for CalcOperator
source§fn clone(&self) -> CalcOperator
fn clone(&self) -> CalcOperator
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 CalcOperator
impl Debug for CalcOperator
source§impl<'de> Deserialize<'de> for CalcOperator
impl<'de> Deserialize<'de> for CalcOperator
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 CalcOperator
impl EqIgnoreSpan for CalcOperator
fn eq_ignore_span(&self, other: &Self) -> bool
source§impl From<CalcOperator> for CalcProductOrOperator
impl From<CalcOperator> for CalcProductOrOperator
source§fn from(v: CalcOperator) -> Self
fn from(v: CalcOperator) -> Self
Converts to this type from the input type.
source§impl From<CalcOperator> for CalcValueOrOperator
impl From<CalcOperator> for CalcValueOrOperator
source§fn from(v: CalcOperator) -> Self
fn from(v: CalcOperator) -> Self
Converts to this type from the input type.