pub struct LuaInstruction {
pub opcode: LuaOpCode,
pub a: u8,
pub b: u8,
pub c: u8,
pub bx: u16,
pub sbx: i16,
pub ax: u32,
}Expand description
Lua 指令结构
Fields§
§opcode: LuaOpCode§a: u8§b: u8§c: u8§bx: u16§sbx: i16§ax: u32Trait Implementations§
Source§impl Clone for LuaInstruction
impl Clone for LuaInstruction
Source§fn clone(&self) -> LuaInstruction
fn clone(&self) -> LuaInstruction
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 LuaInstruction
impl Debug for LuaInstruction
Source§impl<'de> Deserialize<'de> for LuaInstruction
impl<'de> Deserialize<'de> for LuaInstruction
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 LuaInstruction
impl Hash for LuaInstruction
Source§impl PartialEq for LuaInstruction
impl PartialEq for LuaInstruction
Source§impl Serialize for LuaInstruction
impl Serialize for LuaInstruction
impl Copy for LuaInstruction
impl Eq for LuaInstruction
impl StructuralPartialEq for LuaInstruction
Auto Trait Implementations§
impl Freeze for LuaInstruction
impl RefUnwindSafe for LuaInstruction
impl Send for LuaInstruction
impl Sync for LuaInstruction
impl Unpin for LuaInstruction
impl UnwindSafe for LuaInstruction
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