pub struct Block<'input> {
pub loc: Loc,
pub action: Vec<Expr<'input>>,
}
Expand description
A code block.
Fields§
§loc: Loc
§action: Vec<Expr<'input>>
Implementations§
Trait Implementations§
impl<'input> StructuralPartialEq for Block<'input>
Auto Trait Implementations§
impl<'input> Freeze for Block<'input>
impl<'input> RefUnwindSafe for Block<'input>
impl<'input> Send for Block<'input>
impl<'input> Sync for Block<'input>
impl<'input> Unpin for Block<'input>
impl<'input> UnwindSafe for Block<'input>
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