Skip to main content

ILabelStatementMethods

Trait ILabelStatementMethods 

Source
pub trait ILabelStatementMethods: ILabelStatement {
Show 17 methods // Provided methods fn get_label(self) -> Il2CppString { ... } fn set_label(self, value: impl Into<Il2CppString>) { ... } fn get_address(self) -> i32 { ... } fn set_address(self, value: impl Into<i32>) { ... } fn get_source_ref(self) -> SourceRef { ... } fn set_source_ref(self, value: impl Into<SourceRef>) { ... } fn get_name_token(self) -> Token { ... } fn set_name_token(self, value: impl Into<Token>) { ... } 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 set_defined_vars( self, defined_vars_count: impl Into<i32>, last_defined_vars_name: impl Into<Il2CppString>, ) { ... } fn register_goto(self, gotostat: impl Into<GotoStatement>) { ... } fn compile(self, bc: impl Into<ByteCode>) { ... } fn set_scope(self, runtime_scope_block: impl Into<RuntimeScopeBlock>) { ... }
}

Provided Methods§

Source

fn get_label(self) -> Il2CppString

get_Label() overload

Source

fn set_label(self, value: impl Into<Il2CppString>)

set_Label(::unity::Il2CppString) overload

Source

fn get_address(self) -> i32

get_Address() overload

Source

fn set_address(self, value: impl Into<i32>)

set_Address(i32) overload

Source

fn get_source_ref(self) -> SourceRef

get_SourceRef() overload

Source

fn set_source_ref(self, value: impl Into<SourceRef>)

set_SourceRef(crate::moon_sharp::interpreter::debugging::sourceref::SourceRef) overload

Source

fn get_name_token(self) -> Token

get_NameToken() overload

Source

fn set_name_token(self, value: impl Into<Token>)

set_NameToken(crate::moon_sharp::interpreter::tree::token::Token) overload

Source

fn get_defined_vars_count(self) -> i32

get_DefinedVarsCount() overload

Source

fn set_defined_vars_count(self, value: impl Into<i32>)

set_DefinedVarsCount(i32) overload

Source

fn get_last_defined_var_name(self) -> Il2CppString

get_LastDefinedVarName() overload

Source

fn set_last_defined_var_name(self, value: impl Into<Il2CppString>)

set_LastDefinedVarName(::unity::Il2CppString) overload

Source

fn ctor(self, lcontext: impl Into<ScriptLoadingContext>)

.ctor(crate::moon_sharp::interpreter::execution::scriptloadingcontext::ScriptLoadingContext) overload

Source

fn set_defined_vars( self, defined_vars_count: impl Into<i32>, last_defined_vars_name: impl Into<Il2CppString>, )

SetDefinedVars(i32, ::unity::Il2CppString) overload

Source

fn register_goto(self, gotostat: impl Into<GotoStatement>)

RegisterGoto(crate::moon_sharp::interpreter::tree::statements::gotostatement::GotoStatement) overload

Source

fn compile(self, bc: impl Into<ByteCode>)

Compile(crate::moon_sharp::interpreter::execution::vm::bytecode::ByteCode) overload

Source

fn set_scope(self, runtime_scope_block: impl Into<RuntimeScopeBlock>)

SetScope(crate::moon_sharp::interpreter::execution::runtimescopeblock::RuntimeScopeBlock) 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: ILabelStatement> ILabelStatementMethods for __T

Available on crate feature moon_sharp-interpreter-tree-statements-labelstatement only.