pub enum LuacInstruction {
Resume,
PushNull,
LoadName(u8),
LoadFast(u8),
CallFunction(u8),
PopTop,
ReturnValue,
ReturnConst(u8),
LoadConst(u8),
}Variants§
Resume
PushNull
LoadName(u8)
LoadFast(u8)
CallFunction(u8)
PopTop
ReturnValue
ReturnConst(u8)
LoadConst(u8)
Implementations§
Source§impl LuacInstruction
impl LuacInstruction
pub fn to_bytecode(&self) -> impl Iterator<Item = u32>
Trait Implementations§
Source§impl Clone for LuacInstruction
impl Clone for LuacInstruction
Source§fn clone(&self) -> LuacInstruction
fn clone(&self) -> LuacInstruction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LuacInstruction
impl Debug for LuacInstruction
Source§impl<'de> Deserialize<'de> for LuacInstruction
impl<'de> Deserialize<'de> for LuacInstruction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for LuacInstruction
impl Hash for LuacInstruction
Source§impl PartialEq for LuacInstruction
impl PartialEq for LuacInstruction
Source§impl Serialize for LuacInstruction
impl Serialize for LuacInstruction
impl Copy for LuacInstruction
impl Eq for LuacInstruction
impl StructuralPartialEq for LuacInstruction
Auto Trait Implementations§
impl Freeze for LuacInstruction
impl RefUnwindSafe for LuacInstruction
impl Send for LuacInstruction
impl Sync for LuacInstruction
impl Unpin for LuacInstruction
impl UnwindSafe for LuacInstruction
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