Struct moore_vhdl_syntax::ast::PkgDecl
[−]
[src]
pub struct PkgDecl { pub id: NodeId, pub span: Span, pub name: Spanned<Name>, pub decls: Vec<DeclItem>, }
A package declaration.
Fields
id: NodeId
span: Span
name: Spanned<Name>
decls: Vec<DeclItem>
Trait Implementations
impl Clone for PkgDecl
[src]
fn clone(&self) -> PkgDecl
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for PkgDecl
[src]
impl PartialEq for PkgDecl
[src]
fn eq(&self, __arg_0: &PkgDecl) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PkgDecl) -> bool
[src]
This method tests for !=
.
impl Eq for PkgDecl
[src]
impl Encodable for PkgDecl
[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
[src]
Serialize a value using an Encoder
.