pub struct GenBody {
pub id: NodeId,
pub label: Option<Spanned<Name>>,
pub span: Span,
pub decls: Vec<DeclItem>,
pub stmts: Vec<Stmt>,
}
Fields§
§id: NodeId
§label: Option<Spanned<Name>>
§span: Span
§decls: Vec<DeclItem>
§stmts: Vec<Stmt>
Trait Implementations§
impl Eq for GenBody
impl StructuralPartialEq for GenBody
Auto Trait Implementations§
impl Freeze for GenBody
impl RefUnwindSafe for GenBody
impl Send for GenBody
impl Sync for GenBody
impl Unpin for GenBody
impl UnwindSafe for GenBody
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