Enum Stmt
pub enum Stmt {
CallService(CallService),
If(If),
Return(Expr),
}Variants§
Implementations§
§impl Stmt
impl Stmt
async fn execute(&self, ctx: &mut ScriptCtx<'_>) -> ControlFlow
fn check_signature( &self, registry: &Core, input_builder: &mut FieldsSigBuilder, output_builder: &mut ObjectSignatureBuilder, ) -> Result<ObjectSignature>
Auto Trait Implementations§
impl Freeze for Stmt
impl RefUnwindSafe for Stmt
impl Send for Stmt
impl Sync for Stmt
impl Unpin for Stmt
impl UnwindSafe for Stmt
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more