#[repr(u8)]pub enum Bytecode {
Show 28 variants
Halt,
Dup,
PushLocal(u8, u8),
PushArgument(u8, u8),
PushField(u8),
PushBlock(u8),
PushConstant(u8),
PushConstant0,
PushConstant1,
PushConstant2,
PushGlobal(u8),
Push0,
Push1,
PushNil,
Pop,
PopLocal(u8, u8),
PopArgument(u8, u8),
PopField(u8),
Send1(u8),
Send2(u8),
Send3(u8),
SendN(u8),
SuperSend1(u8),
SuperSend2(u8),
SuperSend3(u8),
SuperSendN(u8),
ReturnLocal,
ReturnNonLocal,
}
Variants§
Halt
Dup
PushLocal(u8, u8)
PushArgument(u8, u8)
PushField(u8)
PushBlock(u8)
PushConstant(u8)
PushConstant0
PushConstant1
PushConstant2
PushGlobal(u8)
Push0
Push1
PushNil
Pop
PopLocal(u8, u8)
PopArgument(u8, u8)
PopField(u8)
Send1(u8)
Send2(u8)
Send3(u8)
SendN(u8)
SuperSend1(u8)
SuperSend2(u8)
SuperSend3(u8)
SuperSendN(u8)
ReturnLocal
ReturnNonLocal
Implementations§
Trait Implementations§
source§impl PartialEq for Bytecode
impl PartialEq for Bytecode
impl Copy for Bytecode
impl Eq for Bytecode
impl StructuralPartialEq for Bytecode
Auto Trait Implementations§
impl Freeze for Bytecode
impl RefUnwindSafe for Bytecode
impl Send for Bytecode
impl Sync for Bytecode
impl Unpin for Bytecode
impl UnwindSafe for Bytecode
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