pub struct StmtBody {
pub id: NodeId,
pub stmts: Vec<Stmt>,
}
Expand description
The body of an if, loop, or case statement.
Fields§
§id: NodeId
§stmts: Vec<Stmt>
Trait Implementations§
impl Eq for StmtBody
impl StructuralPartialEq for StmtBody
Auto Trait Implementations§
impl Freeze for StmtBody
impl RefUnwindSafe for StmtBody
impl Send for StmtBody
impl Sync for StmtBody
impl Unpin for StmtBody
impl UnwindSafe for StmtBody
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