Enum swc_css_ast::BinOp
source · pub enum BinOp {
Add,
Sub,
Mul,
Div,
}
Variants§
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for BinOp
impl<'de> Deserialize<'de> for BinOp
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 BinOp
impl EqIgnoreSpan for BinOp
fn eq_ignore_span(&self, other: &Self) -> bool
source§impl Ord for BinOp
impl Ord for BinOp
source§impl PartialEq<BinOp> for BinOp
impl PartialEq<BinOp> for BinOp
source§impl PartialOrd<BinOp> for BinOp
impl PartialOrd<BinOp> for BinOp
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