Struct moore_vhdl::hir::CaseStmt
source · [−]pub struct CaseStmt {
pub matching: bool,
pub switch: ExprRef,
pub cases: Vec<(Spanned<Choices>, Vec<SeqStmtRef>)>,
}
Expand description
A case statement.
See IEEE 1076-2008 section 10.9.
Fields
matching: bool
Whether this is a matching case statement (indicated by ?
).
switch: ExprRef
The expression being switched over.
cases: Vec<(Spanned<Choices>, Vec<SeqStmtRef>)>
The cases.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CaseStmt
impl Send for CaseStmt
impl Sync for CaseStmt
impl Unpin for CaseStmt
impl UnwindSafe for CaseStmt
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more