pub trait IExpressionMethods: IExpression {
// Provided methods
fn ctor(self, lcontext: impl Into<ScriptLoadingContext>) { ... }
fn get_friendly_debug_name(self) -> Il2CppString { ... }
fn eval(self, context: impl Into<ScriptExecutionContext>) -> DynValue { ... }
fn find_dynamic(
self,
context: impl Into<ScriptExecutionContext>,
) -> SymbolRef { ... }
}Provided Methods§
Sourcefn ctor(self, lcontext: impl Into<ScriptLoadingContext>)
fn ctor(self, lcontext: impl Into<ScriptLoadingContext>)
.ctor(crate::moon_sharp::interpreter::execution::scriptloadingcontext::ScriptLoadingContext) overload
Sourcefn get_friendly_debug_name(self) -> Il2CppString
fn get_friendly_debug_name(self) -> Il2CppString
GetFriendlyDebugName() overload
Sourcefn eval(self, context: impl Into<ScriptExecutionContext>) -> DynValue
fn eval(self, context: impl Into<ScriptExecutionContext>) -> DynValue
Eval(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext) overload
Sourcefn find_dynamic(self, context: impl Into<ScriptExecutionContext>) -> SymbolRef
fn find_dynamic(self, context: impl Into<ScriptExecutionContext>) -> SymbolRef
FindDynamic(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext) 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: IExpression> IExpressionMethods for __T
Available on crate feature
moon_sharp-interpreter-tree-expression only.