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§
Sourcefn ctor(self, script: impl Into<Script>)
fn ctor(self, script: impl Into<Script>)
.ctor(crate::moon_sharp::interpreter::script::Script) overload
Sourcefn get_handle_dynamic_exprs(self) -> bool
fn get_handle_dynamic_exprs(self) -> bool
get_HandleDynamicExprs() overload
Sourcefn set_handle_dynamic_exprs(self, value: impl Into<bool>)
fn set_handle_dynamic_exprs(self, value: impl Into<bool>)
set_HandleDynamicExprs(bool) overload
Sourcefn get_handle_classic_exprs_syntax(self) -> bool
fn get_handle_classic_exprs_syntax(self) -> bool
get_HandleClassicExprsSyntax() overload
Sourcefn set_handle_classic_exprs_syntax(self, value: impl Into<bool>)
fn set_handle_classic_exprs_syntax(self, value: impl Into<bool>)
set_HandleClassicExprsSyntax(bool) overload
Sourcefn get_has_pending_command(self) -> bool
fn get_has_pending_command(self) -> bool
get_HasPendingCommand() overload
Sourcefn get_current_pending_command(self) -> Il2CppString
fn get_current_pending_command(self) -> Il2CppString
get_CurrentPendingCommand() overload
Sourcefn get_classic_prompt(self) -> Il2CppString
fn get_classic_prompt(self) -> Il2CppString
get_ClassicPrompt() overload
Sourcefn evaluate(self, input: impl Into<Il2CppString>) -> DynValue
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§
impl<__T: IReplInterpreter> IReplInterpreterMethods for __T
Available on crate feature
moon_sharp-interpreter-repl-replinterpreter only.