pub enum ValueKind {
Show 30 variants
Void,
Any,
Int(i64),
Float(f64),
Boolean(bool),
String(String),
Identifier(String),
Label(String),
End,
Push,
Pop,
Peek,
Add,
Sub,
Mul,
Div,
LessThan,
LessThanEqual,
GreaterThan,
GreaterThanEqual,
Equal,
NotEqual,
Jump,
RelativeJump,
JumpIfTrue,
JumpIfFalse,
Print,
PrintNewLine,
Set,
Call,
}Variants§
Void
Any
Int(i64)
Float(f64)
Boolean(bool)
String(String)
Identifier(String)
Label(String)
End
Push
Pop
Peek
Add
Sub
Mul
Div
LessThan
LessThanEqual
GreaterThan
GreaterThanEqual
Equal
NotEqual
Jump
RelativeJump
JumpIfTrue
JumpIfFalse
PrintNewLine
Set
Call
Implementations§
Trait Implementations§
impl StructuralPartialEq for ValueKind
Auto Trait Implementations§
impl Freeze for ValueKind
impl RefUnwindSafe for ValueKind
impl Send for ValueKind
impl Sync for ValueKind
impl Unpin for ValueKind
impl UnwindSafe for ValueKind
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