pub enum StmtData {
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>,
},
}
Fields of WaitStmt
Fields of AssertStmt
Fields of ReportStmt
Fields of IfStmt
Fields of CaseStmt
Fields of LoopStmt
Fields of NexitStmt
Fields of IfGenStmt
Fields of CaseGenStmt
Fields of ForGenStmt
Fields of BlockStmt
Fields of ProcStmt
Fields of AssignStmt
Fields of SelectAssignStmt
Fields of InstOrCallStmt
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
Deserialize a value using a Decoder
.
Serialize a value using an Encoder
.
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
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
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static