pub struct Block {
pub statements: Vec<Spanned<Statement>>,
}Expand description
{ ...; ...; } — also the body of IF/FOR/DEFINE FUNCTION.
The block analyzer dispatches each child to that child’s own analyzer; per-statement invariants stay attached to their own statement kind.
Fields§
§statements: Vec<Spanned<Statement>>The block’s statements, in source order.
Trait Implementations§
impl StructuralPartialEq for Block
Auto Trait Implementations§
impl Freeze for Block
impl RefUnwindSafe for Block
impl Send for Block
impl Sync for Block
impl Unpin for Block
impl UnsafeUnpin for Block
impl UnwindSafe for Block
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