pub trait IReturnStatementMethods: IReturnStatement {
// Provided methods
fn ctor(
self,
lcontext: impl Into<ScriptLoadingContext>,
e: impl Into<Expression>,
sref: impl Into<SourceRef>,
) { ... }
fn ctor_2(self, lcontext: impl Into<ScriptLoadingContext>) { ... }
fn compile(self, bc: impl Into<ByteCode>) { ... }
}Provided Methods§
Sourcefn ctor(
self,
lcontext: impl Into<ScriptLoadingContext>,
e: impl Into<Expression>,
sref: impl Into<SourceRef>,
)
fn ctor( self, lcontext: impl Into<ScriptLoadingContext>, e: impl Into<Expression>, sref: impl Into<SourceRef>, )
.ctor(crate::moon_sharp::interpreter::execution::scriptloadingcontext::ScriptLoadingContext, crate::moon_sharp::interpreter::tree::expression::Expression, crate::moon_sharp::interpreter::debugging::sourceref::SourceRef) overload
Sourcefn ctor_2(self, lcontext: impl Into<ScriptLoadingContext>)
fn ctor_2(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: IReturnStatement> IReturnStatementMethods for __T
Available on crate feature
moon_sharp-interpreter-tree-statements-returnstatement only.