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)

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)

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)

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.