Enum brain::bytecode::ByteCodeType
[−]
[src]
pub enum ByteCodeType { ICONST(i32), IADD(usize), ISUB(usize), FOWARD(usize), BACKWARD(usize), LOOP(usize), END(usize), WRITE(usize), READ(usize), INVALID, }
Variants
ICONST(i32)
IADD(usize)
ISUB(usize)
FOWARD(usize)
BACKWARD(usize)
LOOP(usize)
END(usize)
WRITE(usize)
READ(usize)
INVALID
Trait Implementations
impl Debug for ByteCodeType
[src]
impl<'a> From<&'a Instruction> for ByteCodeType
[src]
fn from(ins: &Instruction) -> Self
Performs the conversion.
impl<'a> From<&'a str> for ByteCodeType
[src]
fn from(line: &str) -> ByteCodeType
Performs the conversion.