pub trait IScriptLoadingContextMethods: IScriptLoadingContext {
Show 13 methods
// Provided methods
fn get_script(self) -> Script { ... }
fn set_script(self, value: impl Into<Script>) { ... }
fn get_scope(self) -> BuildTimeScope { ... }
fn set_scope(self, value: impl Into<BuildTimeScope>) { ... }
fn get_source(self) -> SourceCode { ... }
fn set_source(self, value: impl Into<SourceCode>) { ... }
fn get_anonymous(self) -> bool { ... }
fn set_anonymous(self, value: impl Into<bool>) { ... }
fn get_is_dynamic_expression(self) -> bool { ... }
fn set_is_dynamic_expression(self, value: impl Into<bool>) { ... }
fn get_lexer(self) -> Lexer { ... }
fn set_lexer(self, value: impl Into<Lexer>) { ... }
fn ctor(self, s: impl Into<Script>) { ... }
}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_scope(self) -> BuildTimeScope
fn get_scope(self) -> BuildTimeScope
get_Scope() overload
Sourcefn set_scope(self, value: impl Into<BuildTimeScope>)
fn set_scope(self, value: impl Into<BuildTimeScope>)
set_Scope(crate::moon_sharp::interpreter::execution::buildtimescope::BuildTimeScope) overload
Sourcefn get_source(self) -> SourceCode
fn get_source(self) -> SourceCode
get_Source() overload
Sourcefn set_source(self, value: impl Into<SourceCode>)
fn set_source(self, value: impl Into<SourceCode>)
set_Source(crate::moon_sharp::interpreter::debugging::sourcecode::SourceCode) overload
Sourcefn get_anonymous(self) -> bool
fn get_anonymous(self) -> bool
get_Anonymous() overload
Sourcefn set_anonymous(self, value: impl Into<bool>)
fn set_anonymous(self, value: impl Into<bool>)
set_Anonymous(bool) overload
Sourcefn get_is_dynamic_expression(self) -> bool
fn get_is_dynamic_expression(self) -> bool
get_IsDynamicExpression() overload
Sourcefn set_is_dynamic_expression(self, value: impl Into<bool>)
fn set_is_dynamic_expression(self, value: impl Into<bool>)
set_IsDynamicExpression(bool) 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: IScriptLoadingContext> IScriptLoadingContextMethods for __T
Available on crate feature
moon_sharp-interpreter-execution-scriptloadingcontext only.