Skip to main content

IExpressionMethods

Trait IExpressionMethods 

Source
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§

Source

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

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

Source

fn get_friendly_debug_name(self) -> Il2CppString

GetFriendlyDebugName() overload

Source

fn eval(self, context: impl Into<ScriptExecutionContext>) -> DynValue

Eval(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext) overload

Source

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§

Source§

impl<__T: IExpression> IExpressionMethods for __T

Available on crate feature moon_sharp-interpreter-tree-expression only.