pub trait IInstructionMethods: IInstruction {
// Provided methods
fn ctor(self, sourceref: impl Into<SourceRef>) { ... }
fn to_string(self) -> Il2CppString { ... }
fn purify_from_new_lines(self, value: impl Into<DynValue>) -> Il2CppString { ... }
fn gen_spaces(self) -> Il2CppString { ... }
fn write_binary(
self,
wr: impl Into<BinaryWriter>,
base_address: impl Into<i32>,
symbol_map: impl Into<Dictionary_2<SymbolRef, i32>>,
) { ... }
fn dump_value(self, wr: impl Into<BinaryWriter>, value: impl Into<DynValue>) { ... }
fn get_symbol_references(self) -> (Array<SymbolRef>, SymbolRef) { ... }
}Provided Methods§
Sourcefn ctor(self, sourceref: impl Into<SourceRef>)
fn ctor(self, sourceref: impl Into<SourceRef>)
.ctor(crate::moon_sharp::interpreter::debugging::sourceref::SourceRef) overload
Sourcefn to_string(self) -> Il2CppString
fn to_string(self) -> Il2CppString
ToString() overload
Sourcefn purify_from_new_lines(self, value: impl Into<DynValue>) -> Il2CppString
fn purify_from_new_lines(self, value: impl Into<DynValue>) -> Il2CppString
PurifyFromNewLines(crate::moon_sharp::interpreter::dynvalue::DynValue) overload
Sourcefn gen_spaces(self) -> Il2CppString
fn gen_spaces(self) -> Il2CppString
GenSpaces() overload
Sourcefn write_binary(
self,
wr: impl Into<BinaryWriter>,
base_address: impl Into<i32>,
symbol_map: impl Into<Dictionary_2<SymbolRef, i32>>,
)
fn write_binary( self, wr: impl Into<BinaryWriter>, base_address: impl Into<i32>, symbol_map: impl Into<Dictionary_2<SymbolRef, i32>>, )
WriteBinary(crate::system::io::binarywriter::BinaryWriter, i32, crate::system::collections::generic::dictionary_2::Dictionary_2<crate::moon_sharp::interpreter::symbolref::SymbolRef,i32>) overload
Sourcefn dump_value(self, wr: impl Into<BinaryWriter>, value: impl Into<DynValue>)
fn dump_value(self, wr: impl Into<BinaryWriter>, value: impl Into<DynValue>)
DumpValue(crate::system::io::binarywriter::BinaryWriter, crate::moon_sharp::interpreter::dynvalue::DynValue) overload
Sourcefn get_symbol_references(self) -> (Array<SymbolRef>, SymbolRef)
fn get_symbol_references(self) -> (Array<SymbolRef>, SymbolRef)
GetSymbolReferences(*mut::unity::Array<crate::moon_sharp::interpreter::symbolref::SymbolRef>, *mutcrate::moon_sharp::interpreter::symbolref::SymbolRef) overload
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl<__T: IInstruction> IInstructionMethods for __T
moon_sharp-interpreter-execution-vm-instruction only.