pub struct Script {Show 13 fields
pub name: String,
pub local_int_count: u16,
pub local_string_count: u16,
pub local_long_count: u16,
pub int_param_count: u16,
pub string_param_count: u16,
pub long_param_count: u16,
pub opcodes: Vec<u16>,
pub operations: Vec<Opcode>,
pub int_operands: Vec<i32>,
pub string_operands: Vec<Option<String>>,
pub long_operands: Vec<Option<i64>>,
pub switches: Vec<Vec<(i32, i32)>>,
}Fields§
§name: String§local_int_count: u16§local_string_count: u16§local_long_count: u16§int_param_count: u16§string_param_count: u16§long_param_count: u16§opcodes: Vec<u16>Physical opcode IDs are retained for disassembly and lossless output.
operations: Vec<Opcode>§int_operands: Vec<i32>§string_operands: Vec<Option<String>>§long_operands: Vec<Option<i64>>§switches: Vec<Vec<(i32, i32)>>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Script
impl Freeze for Script
impl Move for Script
impl RefUnwindSafe for Script
impl Send for Script
impl Sync for Script
impl Unpin for Script
impl UnsafeUnpin for Script
impl UnwindSafe for Script
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