Enum swc_css_ast::CalcOperatorType
source · pub enum CalcOperatorType {
Add,
Sub,
Mul,
Div,
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for CalcOperatorType
impl Clone for CalcOperatorType
source§fn clone(&self) -> CalcOperatorType
fn clone(&self) -> CalcOperatorType
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 CalcOperatorType
impl Debug for CalcOperatorType
source§impl<'de> Deserialize<'de> for CalcOperatorType
impl<'de> Deserialize<'de> for CalcOperatorType
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 Display for CalcOperatorType
impl Display for CalcOperatorType
source§impl EqIgnoreSpan for CalcOperatorType
impl EqIgnoreSpan for CalcOperatorType
fn eq_ignore_span(&self, other: &Self) -> bool
source§impl FromStr for CalcOperatorType
impl FromStr for CalcOperatorType
source§impl Hash for CalcOperatorType
impl Hash for CalcOperatorType
source§impl Ord for CalcOperatorType
impl Ord for CalcOperatorType
source§fn cmp(&self, other: &CalcOperatorType) -> Ordering
fn cmp(&self, other: &CalcOperatorType) -> 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<CalcOperatorType> for CalcOperatorType
impl PartialEq<CalcOperatorType> for CalcOperatorType
source§fn eq(&self, other: &CalcOperatorType) -> bool
fn eq(&self, other: &CalcOperatorType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<CalcOperatorType> for CalcOperatorType
impl PartialOrd<CalcOperatorType> for CalcOperatorType
source§fn partial_cmp(&self, other: &CalcOperatorType) -> Option<Ordering>
fn partial_cmp(&self, other: &CalcOperatorType) -> 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