pub enum StmtData {
Show 17 variants WaitStmt { on: Option<Spanned<Vec<CompoundName>>>, until: Option<Expr>, time: Option<Expr>, }, AssertStmt { cond: Expr, report: Option<Expr>, severity: Option<Expr>, }, ReportStmt { msg: Expr, severity: Option<Expr>, }, IfStmt { conds: Vec<(Expr, StmtBody)>, alt: Option<StmtBody>, }, CaseStmt { qm: bool, switch: Expr, cases: Vec<(Choices, StmtBody)>, }, LoopStmt { scheme: LoopScheme, body: StmtBody, }, NexitStmt { mode: NexitMode, target: Option<Spanned<Name>>, cond: Option<Expr>, }, ReturnStmt(Option<Expr>), NullStmt, IfGenStmt { conds: Vec<(Expr, GenBody)>, alt: Option<GenBody>, }, CaseGenStmt { switch: Expr, cases: Vec<(Choices, GenBody)>, }, ForGenStmt { param: Spanned<Name>, range: Expr, body: GenBody, }, BlockStmt { guard: Option<Expr>, decls: Vec<DeclItem>, stmts: Vec<Stmt>, }, ProcStmt { sensitivity: Option<Sensitivity>, decls: Vec<DeclItem>, stmts: Vec<Stmt>, postponed: bool, }, AssignStmt { target: Spanned<AssignTarget>, kind: AssignKind, guarded: bool, mode: Spanned<AssignMode>, }, SelectAssignStmt { select: Expr, qm: bool, target: Spanned<AssignTarget>, kind: AssignKind, guarded: bool, mode: SelectAssignMode, waves: Vec<SelectWave>, }, InstOrCallStmt { target: Option<InstTarget>, name: CompoundName, generics: Option<ParenElems>, ports: Option<ParenElems>, },
}

Variants

WaitStmt

Fields

until: Option<Expr>
time: Option<Expr>

AssertStmt

Fields

cond: Expr
report: Option<Expr>
severity: Option<Expr>

ReportStmt

Fields

msg: Expr
severity: Option<Expr>

IfStmt

Fields

conds: Vec<(Expr, StmtBody)>

CaseStmt

Fields

qm: bool
switch: Expr

LoopStmt

Fields

scheme: LoopScheme
body: StmtBody

NexitStmt

Fields

mode: NexitMode
target: Option<Spanned<Name>>
cond: Option<Expr>

ReturnStmt(Option<Expr>)

NullStmt

IfGenStmt

Fields

conds: Vec<(Expr, GenBody)>

CaseGenStmt

Fields

switch: Expr

ForGenStmt

Fields

param: Spanned<Name>
range: Expr
body: GenBody

BlockStmt

Fields

guard: Option<Expr>
decls: Vec<DeclItem>
stmts: Vec<Stmt>

ProcStmt

Fields

sensitivity: Option<Sensitivity>
decls: Vec<DeclItem>
stmts: Vec<Stmt>
postponed: bool

AssignStmt

Fields

kind: AssignKind
guarded: bool

SelectAssignStmt

Fields

select: Expr
qm: bool
kind: AssignKind
guarded: bool
waves: Vec<SelectWave>

InstOrCallStmt

Fields

target: Option<InstTarget>
generics: Option<ParenElems>

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

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.