Struct AstBlock
pub struct AstBlock(pub Vec<AstBlockItem>);Expand description
A block is a list of statements and declarations wrapped in braces. A function’s body and a compound statement are both blocks.
Tuple Fields§
§0: Vec<AstBlockItem>Trait Implementations§
Auto Trait Implementations§
impl Freeze for AstBlock
impl RefUnwindSafe for AstBlock
impl Send for AstBlock
impl Sync for AstBlock
impl Unpin for AstBlock
impl UnwindSafe for AstBlock
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