Struct moore_vhdl::hir::AssertStmt
source · [−]pub struct AssertStmt {
pub cond: ExprRef,
pub report: Option<ExprRef>,
pub severity: Option<ExprRef>,
}
Expand description
An assertion statement.
See IEEE 1076-2008 section 10.3.
Fields
cond: ExprRef
The condition to be asserted.
report: Option<ExprRef>
The report message.
severity: Option<ExprRef>
The severity level.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AssertStmt
impl Send for AssertStmt
impl Sync for AssertStmt
impl Unpin for AssertStmt
impl UnwindSafe for AssertStmt
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