Skip to main content

IInstructionMethods

Trait IInstructionMethods 

Source
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§

Source

fn ctor(self, sourceref: impl Into<SourceRef>)

.ctor(crate::moon_sharp::interpreter::debugging::sourceref::SourceRef) overload

Source

fn to_string(self) -> Il2CppString

ToString() overload

Source

fn purify_from_new_lines(self, value: impl Into<DynValue>) -> Il2CppString

PurifyFromNewLines(crate::moon_sharp::interpreter::dynvalue::DynValue) overload

Source

fn gen_spaces(self) -> Il2CppString

GenSpaces() overload

Source

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

Source

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

Source

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§

Source§

impl<__T: IInstruction> IInstructionMethods for __T

Available on crate feature moon_sharp-interpreter-execution-vm-instruction only.