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 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.
source§impl Hash for CalcOperator
impl Hash for CalcOperator
source§impl PartialEq<CalcOperator> for CalcOperator
impl PartialEq<CalcOperator> for CalcOperator
source§fn eq(&self, other: &CalcOperator) -> bool
fn eq(&self, other: &CalcOperator) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.