pub enum BinOpr {
Show 22 variants
Add,
Sub,
Mul,
Mod,
Pow,
Div,
IDiv,
BAnd,
BOr,
BXor,
Shl,
Shr,
Concat,
Eq,
Lt,
Le,
Ne,
Gt,
Ge,
And,
Or,
NoBinOpr,
}Expand description
Binary operators recognized by the expression parser, in the discriminant
order that indexes [PRIORITY]. NoBinOpr is the “not a binary operator”
sentinel returned by [getbinopr].
Variants§
Trait Implementations§
impl Copy for BinOpr
impl Eq for BinOpr
impl StructuralPartialEq for BinOpr
Auto Trait Implementations§
impl Forget for BinOpr
impl Freeze for BinOpr
impl Move for BinOpr
impl RefUnwindSafe for BinOpr
impl Send for BinOpr
impl Sync for BinOpr
impl Unpin for BinOpr
impl UnsafeUnpin for BinOpr
impl UnwindSafe for BinOpr
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