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(SpanSpanned<Vec<CompoundName>>), SubprogDecl(Subprog), CompDecl(CompDecl), DisconDecl(DisconSpec), CfgSpec(CfgSpec), AttrDecl(AttrDecl), PortgenMap(SpanSpanned<PortgenKind>, ParenElems), PortgenClause(SpanSpanned<PortgenKind>, Spanned<Vec<IntfDecl>>), GroupDecl(GroupDecl), VunitBindInd(()), BlockCompCfg(BlockCompCfg),
}
Expand description

A declarative item.

Variants

PkgBody(PkgBody)

Tuple Fields of PkgBody

0: PkgBody
PkgInst(PkgInst)

Tuple Fields of PkgInst

0: PkgInst
PkgDecl(PkgDecl)

Tuple Fields of PkgDecl

0: PkgDecl
TypeDecl(TypeDecl)

Tuple Fields of TypeDecl

0: TypeDecl
SubtypeDecl(SubtypeDecl)

Tuple Fields of SubtypeDecl

0: SubtypeDecl
ObjDecl(ObjDecl)

Tuple Fields of ObjDecl

0: ObjDecl
AliasDecl(AliasDecl)

Tuple Fields of AliasDecl

0: AliasDecl
UseClause(SpanSpanned<Vec<CompoundName>>)

Tuple Fields of UseClause

0: Span1: Spanned<Vec<CompoundName>>
SubprogDecl(Subprog)

Tuple Fields of SubprogDecl

0: Subprog
CompDecl(CompDecl)

Tuple Fields of CompDecl

0: CompDecl
DisconDecl(DisconSpec)

Tuple Fields of DisconDecl

0: DisconSpec
CfgSpec(CfgSpec)

Tuple Fields of CfgSpec

0: CfgSpec
AttrDecl(AttrDecl)

Tuple Fields of AttrDecl

0: AttrDecl

Tuple Fields of PortgenMap

0: Span1: Spanned<PortgenKind>2: ParenElems
PortgenClause(SpanSpanned<PortgenKind>, Spanned<Vec<IntfDecl>>)

Tuple Fields of PortgenClause

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

Tuple Fields of GroupDecl

0: GroupDecl
VunitBindInd(())

Tuple Fields of VunitBindInd

0: ()
BlockCompCfg(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.