pub struct PkgDecl {
pub id: NodeId,
pub span: Span,
pub name: Spanned<Name>,
pub decls: Vec<DeclItem>,
}
Expand description
A package declaration.
Fields§
§id: NodeId
§span: Span
§name: Spanned<Name>
§decls: Vec<DeclItem>
Trait Implementations§
impl Eq for PkgDecl
impl StructuralPartialEq for PkgDecl
Auto Trait Implementations§
impl Freeze for PkgDecl
impl RefUnwindSafe for PkgDecl
impl Send for PkgDecl
impl Sync for PkgDecl
impl Unpin for PkgDecl
impl UnwindSafe for PkgDecl
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