Skip to main content

ISymbolRefMethods

Trait ISymbolRefMethods 

Source
pub trait ISymbolRefMethods: ISymbolRef {
    // Provided methods
    fn get_type(self) -> SymbolRefType { ... }
    fn get_index(self) -> i32 { ... }
    fn get_name(self) -> Il2CppString { ... }
    fn get_environment(self) -> SymbolRef { ... }
    fn to_string(self) -> Il2CppString { ... }
    fn write_binary(self, bw: impl Into<BinaryWriter>) { ... }
    fn write_binary_env(
        self,
        bw: impl Into<BinaryWriter>,
        symbol_map: impl Into<Dictionary_2<SymbolRef, i32>>,
    ) { ... }
    fn read_binary_env(
        self,
        br: impl Into<BinaryReader>,
        symbol_refs: impl Into<Array<SymbolRef>>,
    ) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_type(self) -> SymbolRefType

get_Type() overload

Source

fn get_index(self) -> i32

get_Index() overload

Source

fn get_name(self) -> Il2CppString

get_Name() overload

Source

fn get_environment(self) -> SymbolRef

get_Environment() overload

Source

fn to_string(self) -> Il2CppString

ToString() overload

Source

fn write_binary(self, bw: impl Into<BinaryWriter>)

WriteBinary(crate::system::io::binarywriter::BinaryWriter) overload

Source

fn write_binary_env( self, bw: impl Into<BinaryWriter>, symbol_map: impl Into<Dictionary_2<SymbolRef, i32>>, )

WriteBinaryEnv(crate::system::io::binarywriter::BinaryWriter, crate::system::collections::generic::dictionary_2::Dictionary_2<crate::moon_sharp::interpreter::symbolref::SymbolRef,i32>) overload

Source

fn read_binary_env( self, br: impl Into<BinaryReader>, symbol_refs: impl Into<Array<SymbolRef>>, )

ReadBinaryEnv(crate::system::io::binaryreader::BinaryReader, ::unity::Array<crate::moon_sharp::interpreter::symbolref::SymbolRef>) overload

Source

fn ctor(self)

.ctor() 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: ISymbolRef> ISymbolRefMethods for __T

Available on crate feature moon_sharp-interpreter-symbolref only.