Enum expresso::instructions::Instruction
source · [−]pub enum Instruction {
PushI32(i32),
PushF32(f32),
PushVariable(String),
PushString(String),
Operator(Operator),
CallFunction,
StartList,
EndList,
EOF,
}
Variants
PushI32(i32)
PushF32(f32)
PushVariable(String)
PushString(String)
Operator(Operator)
CallFunction
StartList
EndList
EOF
Trait Implementations
sourceimpl Debug for Instruction
impl Debug for Instruction
sourceimpl PartialEq<Instruction> for Instruction
impl PartialEq<Instruction> for Instruction
sourcefn eq(&self, other: &Instruction) -> bool
fn eq(&self, other: &Instruction) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Instruction) -> bool
fn ne(&self, other: &Instruction) -> bool
This method tests for !=
.
impl StructuralPartialEq for Instruction
Auto Trait Implementations
impl RefUnwindSafe for Instruction
impl Send for Instruction
impl Sync for Instruction
impl Unpin for Instruction
impl UnwindSafe for Instruction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more