pub trait IDynamicExpressionMethods: IDynamicExpression {
// Provided methods
fn ctor(
self,
s: impl Into<Script>,
str_expr: impl Into<Il2CppString>,
expr: impl Into<DynamicExprExpression>,
) { ... }
fn ctor_2(
self,
s: impl Into<Script>,
str_expr: impl Into<Il2CppString>,
constant: impl Into<DynValue>,
) { ... }
fn evaluate(self, context: impl Into<ScriptExecutionContext>) -> DynValue { ... }
fn find_symbol(
self,
context: impl Into<ScriptExecutionContext>,
) -> SymbolRef { ... }
fn get_owner_script(self) -> Script { ... }
fn set_owner_script(self, value: impl Into<Script>) { ... }
fn is_constant(self) -> bool { ... }
fn get_hash_code(self) -> i32 { ... }
fn equals(self, obj: impl Into<Object>) -> bool { ... }
}Provided Methods§
Sourcefn ctor(
self,
s: impl Into<Script>,
str_expr: impl Into<Il2CppString>,
expr: impl Into<DynamicExprExpression>,
)
fn ctor( self, s: impl Into<Script>, str_expr: impl Into<Il2CppString>, expr: impl Into<DynamicExprExpression>, )
.ctor(crate::moon_sharp::interpreter::script::Script, ::unity::Il2CppString, crate::moon_sharp::interpreter::tree::expressions::dynamicexprexpression::DynamicExprExpression) overload
Sourcefn ctor_2(
self,
s: impl Into<Script>,
str_expr: impl Into<Il2CppString>,
constant: impl Into<DynValue>,
)
fn ctor_2( self, s: impl Into<Script>, str_expr: impl Into<Il2CppString>, constant: impl Into<DynValue>, )
.ctor(crate::moon_sharp::interpreter::script::Script, ::unity::Il2CppString, crate::moon_sharp::interpreter::dynvalue::DynValue) overload
Sourcefn evaluate(self, context: impl Into<ScriptExecutionContext>) -> DynValue
fn evaluate(self, context: impl Into<ScriptExecutionContext>) -> DynValue
Evaluate(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext) overload
Sourcefn find_symbol(self, context: impl Into<ScriptExecutionContext>) -> SymbolRef
fn find_symbol(self, context: impl Into<ScriptExecutionContext>) -> SymbolRef
FindSymbol(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext) overload
Sourcefn get_owner_script(self) -> Script
fn get_owner_script(self) -> Script
get_OwnerScript() overload
Sourcefn set_owner_script(self, value: impl Into<Script>)
fn set_owner_script(self, value: impl Into<Script>)
set_OwnerScript(crate::moon_sharp::interpreter::script::Script) overload
Sourcefn is_constant(self) -> bool
fn is_constant(self) -> bool
IsConstant() overload
Sourcefn get_hash_code(self) -> i32
fn get_hash_code(self) -> i32
GetHashCode() 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: IDynamicExpression> IDynamicExpressionMethods for __T
moon_sharp-interpreter-dynamicexpression only.