pub enum BinaryOperator {
Show 22 variants
OpAdd,
OpSub,
OpMul,
OpDiv,
OpIDiv,
OpMod,
OpPow,
OpBAnd,
OpBOr,
OpBXor,
OpShl,
OpShr,
OpConcat,
OpLt,
OpLe,
OpGt,
OpGe,
OpEq,
OpNe,
OpAnd,
OpOr,
OpNop,
}Variants§
OpAdd
OpSub
OpMul
OpDiv
OpIDiv
OpMod
OpPow
OpBAnd
OpBOr
OpBXor
OpShl
OpShr
OpConcat
OpLt
OpLe
OpGt
OpGe
OpEq
OpNe
OpAnd
OpOr
OpNop
Implementations§
source§impl BinaryOperator
impl BinaryOperator
pub fn get_priority(&self) -> &PriorityTable
Trait Implementations§
source§impl Clone for BinaryOperator
impl Clone for BinaryOperator
source§fn clone(&self) -> BinaryOperator
fn clone(&self) -> BinaryOperator
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for BinaryOperator
impl Debug for BinaryOperator
source§impl From<BinaryOperator> for LuaOpKind
impl From<BinaryOperator> for LuaOpKind
source§fn from(op: BinaryOperator) -> Self
fn from(op: BinaryOperator) -> Self
Converts to this type from the input type.
source§impl PartialEq for BinaryOperator
impl PartialEq for BinaryOperator
impl Copy for BinaryOperator
impl StructuralPartialEq for BinaryOperator
Auto Trait Implementations§
impl Freeze for BinaryOperator
impl RefUnwindSafe for BinaryOperator
impl Send for BinaryOperator
impl Sync for BinaryOperator
impl Unpin for BinaryOperator
impl UnwindSafe for BinaryOperator
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)