Enum moore_vhdl_syntax::ast::DeclItem[][src]

pub enum DeclItem {
Show 18 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),
}
Expand description

A declarative item.

Variants

PkgBody

Tuple Fields of PkgBody

0: PkgBody
PkgInst

Tuple Fields of PkgInst

0: PkgInst
PkgDecl

Tuple Fields of PkgDecl

0: PkgDecl
TypeDecl

Tuple Fields of TypeDecl

0: TypeDecl
SubtypeDecl

Tuple Fields of SubtypeDecl

0: SubtypeDecl
ObjDecl

Tuple Fields of ObjDecl

0: ObjDecl
AliasDecl

Tuple Fields of AliasDecl

0: AliasDecl
UseClause

Tuple Fields of UseClause

0: Span1: Spanned<Vec<CompoundName>>
SubprogDecl

Tuple Fields of SubprogDecl

0: Subprog
CompDecl

Tuple Fields of CompDecl

0: CompDecl
DisconDecl

Tuple Fields of DisconDecl

0: DisconSpec
CfgSpec

Tuple Fields of CfgSpec

0: CfgSpec
AttrDecl

Tuple Fields of AttrDecl

0: AttrDecl
PortgenMap

Tuple Fields of PortgenMap

0: Span1: Spanned<PortgenKind>2: ParenElems
PortgenClause

Tuple Fields of PortgenClause

0: Span1: Spanned<PortgenKind>2: Spanned<Vec<IntfDecl>>
GroupDecl

Tuple Fields of GroupDecl

0: GroupDecl
VunitBindInd

Tuple Fields of VunitBindInd

0: ()
BlockCompCfg

Tuple Fields of BlockCompCfg

0: BlockCompCfg

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Obtain a human-readable descriptive name for this node.

Obtain a human-readable description for this node, possibly containing the node’s name. Read more

Obtain the full span of the input file that this node covers.

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

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.