Skip to main content

IReplInterpreterMethods

Trait IReplInterpreterMethods 

Source
pub trait IReplInterpreterMethods: IReplInterpreter {
    // Provided methods
    fn ctor(self, script: impl Into<Script>) { ... }
    fn get_handle_dynamic_exprs(self) -> bool { ... }
    fn set_handle_dynamic_exprs(self, value: impl Into<bool>) { ... }
    fn get_handle_classic_exprs_syntax(self) -> bool { ... }
    fn set_handle_classic_exprs_syntax(self, value: impl Into<bool>) { ... }
    fn get_has_pending_command(self) -> bool { ... }
    fn get_current_pending_command(self) -> Il2CppString { ... }
    fn get_classic_prompt(self) -> Il2CppString { ... }
    fn evaluate(self, input: impl Into<Il2CppString>) -> DynValue { ... }
}

Provided Methods§

Source

fn ctor(self, script: impl Into<Script>)

.ctor(crate::moon_sharp::interpreter::script::Script) overload

Source

fn get_handle_dynamic_exprs(self) -> bool

get_HandleDynamicExprs() overload

Source

fn set_handle_dynamic_exprs(self, value: impl Into<bool>)

set_HandleDynamicExprs(bool) overload

Source

fn get_handle_classic_exprs_syntax(self) -> bool

get_HandleClassicExprsSyntax() overload

Source

fn set_handle_classic_exprs_syntax(self, value: impl Into<bool>)

set_HandleClassicExprsSyntax(bool) overload

Source

fn get_has_pending_command(self) -> bool

get_HasPendingCommand() overload

Source

fn get_current_pending_command(self) -> Il2CppString

get_CurrentPendingCommand() overload

Source

fn get_classic_prompt(self) -> Il2CppString

get_ClassicPrompt() overload

Source

fn evaluate(self, input: impl Into<Il2CppString>) -> DynValue

Evaluate(::unity::Il2CppString) 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: IReplInterpreter> IReplInterpreterMethods for __T

Available on crate feature moon_sharp-interpreter-repl-replinterpreter only.