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§
Sourcefn get_type(self) -> SymbolRefType
fn get_type(self) -> SymbolRefType
get_Type() overload
Sourcefn get_name(self) -> Il2CppString
fn get_name(self) -> Il2CppString
get_Name() overload
Sourcefn get_environment(self) -> SymbolRef
fn get_environment(self) -> SymbolRef
get_Environment() overload
Sourcefn to_string(self) -> Il2CppString
fn to_string(self) -> Il2CppString
ToString() overload
Sourcefn write_binary(self, bw: impl Into<BinaryWriter>)
fn write_binary(self, bw: impl Into<BinaryWriter>)
WriteBinary(crate::system::io::binarywriter::BinaryWriter) overload
Sourcefn write_binary_env(
self,
bw: impl Into<BinaryWriter>,
symbol_map: impl Into<Dictionary_2<SymbolRef, i32>>,
)
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
Sourcefn read_binary_env(
self,
br: impl Into<BinaryReader>,
symbol_refs: impl Into<Array<SymbolRef>>,
)
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
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: ISymbolRef> ISymbolRefMethods for __T
Available on crate feature
moon_sharp-interpreter-symbolref only.