pub enum UnaryOp {
EPos(ValueI),
ENeg(ValueI),
ENot(ValueI),
EParentheses(ExpressionI),
}
Expand description
Unary Operators
Variants§
Trait Implementations§
Source§impl Compiler for UnaryOp
impl Compiler for UnaryOp
Source§fn compile(&self, pslab: &ParseSlab, cslab: &mut CompileSlab) -> Instruction
fn compile(&self, pslab: &ParseSlab, cslab: &mut CompileSlab) -> Instruction
Source§impl Evaler for UnaryOp
impl Evaler for UnaryOp
impl StructuralPartialEq for UnaryOp
Auto Trait Implementations§
impl Freeze for UnaryOp
impl RefUnwindSafe for UnaryOp
impl Send for UnaryOp
impl Sync for UnaryOp
impl Unpin for UnaryOp
impl UnwindSafe for UnaryOp
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