#[repr(u32)]pub enum AstExprBinary_Op {
Show 17 variants
Add = 0,
Sub = 1,
Mul = 2,
Div = 3,
FloorDiv = 4,
Mod = 5,
Pow = 6,
Concat = 7,
CompareNe = 8,
CompareEq = 9,
CompareLt = 10,
CompareLe = 11,
CompareGt = 12,
CompareGe = 13,
And = 14,
Or = 15,
Op__Count = 16,
}Variants§
Add = 0
Sub = 1
Mul = 2
Div = 3
FloorDiv = 4
Mod = 5
Pow = 6
Concat = 7
CompareNe = 8
CompareEq = 9
CompareLt = 10
CompareLe = 11
CompareGt = 12
CompareGe = 13
And = 14
Or = 15
Op__Count = 16
Trait Implementations§
Source§impl Clone for AstExprBinary_Op
impl Clone for AstExprBinary_Op
Source§fn clone(&self) -> AstExprBinary_Op
fn clone(&self) -> AstExprBinary_Op
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AstExprBinary_Op
Source§impl Debug for AstExprBinary_Op
impl Debug for AstExprBinary_Op
impl Eq for AstExprBinary_Op
Source§impl Hash for AstExprBinary_Op
impl Hash for AstExprBinary_Op
Source§impl PartialEq for AstExprBinary_Op
impl PartialEq for AstExprBinary_Op
Source§fn eq(&self, other: &AstExprBinary_Op) -> bool
fn eq(&self, other: &AstExprBinary_Op) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AstExprBinary_Op
Source§impl WriteJson for AstExprBinary_Op
impl WriteJson for AstExprBinary_Op
fn write_json(&self, enc: &mut AstJsonEncoder)
Auto Trait Implementations§
impl Freeze for AstExprBinary_Op
impl RefUnwindSafe for AstExprBinary_Op
impl Send for AstExprBinary_Op
impl Sync for AstExprBinary_Op
impl Unpin for AstExprBinary_Op
impl UnsafeUnpin for AstExprBinary_Op
impl UnwindSafe for AstExprBinary_Op
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