Struct Statements
pub struct Statements(pub(crate) Box<[Stmt]>);Tuple Fields§
§0: Box<[Stmt]>Implementations§
§impl Statements
impl Statements
pub(crate) async fn execute(&self, ctx: &mut ScriptCtx<'_>) -> ControlFlow
pub(crate) async fn execute_boxed(&self, ctx: &mut ScriptCtx<'_>) -> ControlFlow
pub(crate) fn check_signature( &self, registry: &Core, input_builder: &mut FieldsSigBuilder, output_builder: &mut ObjectSignatureBuilder, ) -> Result<ObjectSignature>
Trait Implementations§
§impl Default for Statements
impl Default for Statements
§fn default() -> Statements
fn default() -> Statements
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Statements
impl RefUnwindSafe for Statements
impl Send for Statements
impl Sync for Statements
impl Unpin for Statements
impl UnwindSafe for Statements
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