Skip to main content

IReplHistoryInterpreterMethods

Trait IReplHistoryInterpreterMethods 

Source
pub trait IReplHistoryInterpreterMethods: IReplHistoryInterpreter {
    // Provided methods
    fn ctor(self, script: impl Into<Script>, history_size: impl Into<i32>) { ... }
    fn evaluate(self, input: impl Into<Il2CppString>) -> DynValue { ... }
    fn history_prev(self) -> Il2CppString { ... }
    fn history_next(self) -> Il2CppString { ... }
}

Provided Methods§

Source

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

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

Source

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

Evaluate(::unity::Il2CppString) overload

Source

fn history_prev(self) -> Il2CppString

HistoryPrev() overload

Source

fn history_next(self) -> Il2CppString

HistoryNext() 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: IReplHistoryInterpreter> IReplHistoryInterpreterMethods for __T

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