pub enum BinOpKind {
Compare(CompareBinOpKind),
If,
And,
Or,
In,
Mul,
Div,
Mod,
Add,
Sub,
}
Variants§
Compare(CompareBinOpKind)
If
a if b
means b implies a
.
a if b
will be represented as Expr::BinOp(BinOpKind::If, a, b)
And
Or
In
Mul
Div
Mod
Add
Sub
Trait Implementations§
impl StructuralPartialEq for BinOpKind
Auto Trait Implementations§
impl Freeze for BinOpKind
impl RefUnwindSafe for BinOpKind
impl Send for BinOpKind
impl Sync for BinOpKind
impl Unpin for BinOpKind
impl UnwindSafe for BinOpKind
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