Enum moore_vhdl_syntax::ast::DeclItem
[−]
[src]
pub enum DeclItem { PkgBody(PkgBody), PkgInst(PkgInst), PkgDecl(PkgDecl), TypeDecl(TypeDecl), SubtypeDecl(SubtypeDecl), ObjDecl(ObjDecl), AliasDecl(AliasDecl), UseClause(Span, Spanned<Vec<CompoundName>>), SubprogDecl(Subprog), CompDecl(CompDecl), DisconDecl(DisconSpec), CfgSpec(CfgSpec), AttrDecl(AttrDecl), PortgenMap(Span, Spanned<PortgenKind>, ParenElems), PortgenClause(Span, Spanned<PortgenKind>, Spanned<Vec<IntfDecl>>), GroupDecl(GroupDecl), VunitBindInd(()), BlockCompCfg(BlockCompCfg), }
A declarative item.
Variants
PkgBody(PkgBody)
PkgInst(PkgInst)
PkgDecl(PkgDecl)
TypeDecl(TypeDecl)
SubtypeDecl(SubtypeDecl)
ObjDecl(ObjDecl)
AliasDecl(AliasDecl)
UseClause(Span, Spanned<Vec<CompoundName>>)
SubprogDecl(Subprog)
CompDecl(CompDecl)
DisconDecl(DisconSpec)
CfgSpec(CfgSpec)
AttrDecl(AttrDecl)
PortgenMap(Span, Spanned<PortgenKind>, ParenElems)
PortgenClause(Span, Spanned<PortgenKind>, Spanned<Vec<IntfDecl>>)
GroupDecl(GroupDecl)
VunitBindInd(())
BlockCompCfg(BlockCompCfg)
Trait Implementations
impl Clone for DeclItem
[src]
fn clone(&self) -> DeclItem
[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 DeclItem
[src]
impl PartialEq for DeclItem
[src]
fn eq(&self, __arg_0: &DeclItem) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DeclItem) -> bool
[src]
This method tests for !=
.
impl Eq for DeclItem
[src]
impl Encodable for DeclItem
[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
[src]
Serialize a value using an Encoder
.
impl Decodable for DeclItem
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<DeclItem, __D::Error>
[src]
Deserialize a value using a Decoder
.
impl HasSpan for DeclItem
[src]
fn span(&self) -> Span
[src]
Obtain the full span of the input file that this node covers.
fn human_span(&self) -> Span
[src]
Obtain a span which can be used to refer to this node in error messages presented to humans. This will generally be the name for things like entities, processes, and variables. Defaults to return whatever span()
returns. Read more