Enum swc_css_ast::BinOp
source · pub enum BinOp {
Add,
Sub,
Mul,
Div,
}
Variants§
Implementations§
Trait Implementations§
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 for BinOp
impl PartialEq for BinOp
source§impl PartialOrd for BinOp
impl PartialOrd 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 moreimpl Copy for BinOp
impl Eq for BinOp
impl StructuralEq for BinOp
impl StructuralPartialEq for BinOp
Auto Trait Implementations§
impl RefUnwindSafe for BinOp
impl Send for BinOp
impl Sync for BinOp
impl Unpin for BinOp
impl UnwindSafe for BinOp
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more