pub trait IGotoStatementMethods: IGotoStatement {
Show 14 methods
// Provided methods
fn get_source_ref(self) -> SourceRef { ... }
fn set_source_ref(self, value: impl Into<SourceRef>) { ... }
fn get_goto_token(self) -> Token { ... }
fn set_goto_token(self, value: impl Into<Token>) { ... }
fn get_label(self) -> Il2CppString { ... }
fn set_label(self, value: impl Into<Il2CppString>) { ... }
fn get_defined_vars_count(self) -> i32 { ... }
fn set_defined_vars_count(self, value: impl Into<i32>) { ... }
fn get_last_defined_var_name(self) -> Il2CppString { ... }
fn set_last_defined_var_name(self, value: impl Into<Il2CppString>) { ... }
fn ctor(self, lcontext: impl Into<ScriptLoadingContext>) { ... }
fn compile(self, bc: impl Into<ByteCode>) { ... }
fn set_defined_vars(
self,
defined_vars_count: impl Into<i32>,
last_defined_vars_name: impl Into<Il2CppString>,
) { ... }
fn set_address(self, label_address: impl Into<i32>) { ... }
}Provided Methods§
Sourcefn get_source_ref(self) -> SourceRef
fn get_source_ref(self) -> SourceRef
get_SourceRef() overload
Sourcefn set_source_ref(self, value: impl Into<SourceRef>)
fn set_source_ref(self, value: impl Into<SourceRef>)
set_SourceRef(crate::moon_sharp::interpreter::debugging::sourceref::SourceRef) overload
Sourcefn get_goto_token(self) -> Token
fn get_goto_token(self) -> Token
get_GotoToken() overload
Sourcefn set_goto_token(self, value: impl Into<Token>)
fn set_goto_token(self, value: impl Into<Token>)
set_GotoToken(crate::moon_sharp::interpreter::tree::token::Token) overload
Sourcefn get_label(self) -> Il2CppString
fn get_label(self) -> Il2CppString
get_Label() overload
Sourcefn set_label(self, value: impl Into<Il2CppString>)
fn set_label(self, value: impl Into<Il2CppString>)
set_Label(::unity::Il2CppString) overload
Sourcefn get_defined_vars_count(self) -> i32
fn get_defined_vars_count(self) -> i32
get_DefinedVarsCount() overload
Sourcefn set_defined_vars_count(self, value: impl Into<i32>)
fn set_defined_vars_count(self, value: impl Into<i32>)
set_DefinedVarsCount(i32) overload
Sourcefn get_last_defined_var_name(self) -> Il2CppString
fn get_last_defined_var_name(self) -> Il2CppString
get_LastDefinedVarName() overload
Sourcefn set_last_defined_var_name(self, value: impl Into<Il2CppString>)
fn set_last_defined_var_name(self, value: impl Into<Il2CppString>)
set_LastDefinedVarName(::unity::Il2CppString) overload
Sourcefn ctor(self, lcontext: impl Into<ScriptLoadingContext>)
fn ctor(self, lcontext: impl Into<ScriptLoadingContext>)
.ctor(crate::moon_sharp::interpreter::execution::scriptloadingcontext::ScriptLoadingContext) overload
Sourcefn compile(self, bc: impl Into<ByteCode>)
fn compile(self, bc: impl Into<ByteCode>)
Compile(crate::moon_sharp::interpreter::execution::vm::bytecode::ByteCode) overload
Sourcefn set_defined_vars(
self,
defined_vars_count: impl Into<i32>,
last_defined_vars_name: impl Into<Il2CppString>,
)
fn set_defined_vars( self, defined_vars_count: impl Into<i32>, last_defined_vars_name: impl Into<Il2CppString>, )
SetDefinedVars(i32, ::unity::Il2CppString) overload
Sourcefn set_address(self, label_address: impl Into<i32>)
fn set_address(self, label_address: impl Into<i32>)
SetAddress(i32) 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: IGotoStatement> IGotoStatementMethods for __T
moon_sharp-interpreter-tree-statements-gotostatement only.