pub trait INodeBaseMethods: INodeBase {
// Provided methods
fn get_script(self) -> Script { ... }
fn set_script(self, value: impl Into<Script>) { ... }
fn get_loading_context(self) -> ScriptLoadingContext { ... }
fn set_loading_context(self, value: impl Into<ScriptLoadingContext>) { ... }
fn ctor(self, lcontext: impl Into<ScriptLoadingContext>) { ... }
fn compile(self, bc: impl Into<ByteCode>) { ... }
}Provided Methods§
Sourcefn get_script(self) -> Script
fn get_script(self) -> Script
get_Script() overload
Sourcefn set_script(self, value: impl Into<Script>)
fn set_script(self, value: impl Into<Script>)
set_Script(crate::moon_sharp::interpreter::script::Script) overload
Sourcefn get_loading_context(self) -> ScriptLoadingContext
fn get_loading_context(self) -> ScriptLoadingContext
get_LoadingContext() overload
Sourcefn set_loading_context(self, value: impl Into<ScriptLoadingContext>)
fn set_loading_context(self, value: impl Into<ScriptLoadingContext>)
set_LoadingContext(crate::moon_sharp::interpreter::execution::scriptloadingcontext::ScriptLoadingContext) overload
Sourcefn ctor(self, lcontext: impl Into<ScriptLoadingContext>)
fn ctor(self, lcontext: impl Into<ScriptLoadingContext>)
.ctor(crate::moon_sharp::interpreter::execution::scriptloadingcontext::ScriptLoadingContext) 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: INodeBase> INodeBaseMethods for __T
Available on crate feature
moon_sharp-interpreter-tree-nodebase only.