pub struct CheckerOutput<'d> {
pub formal: Symbol<'d>,
pub assign: Option<Expression<'d>>,
pub initial: Option<Expression<'d>>,
}Expand description
One output formal argument of a checker instance and its connection (LRM 17.3: “as if there were continuous assignments, executed in the Reactive region, of the checker’s output formal arguments to their corresponding actual arguments”).
Fields§
§formal: Symbol<'d>The checker’s output formal: a variable of the checker.
assign: Option<Expression<'d>>slang’s actual = <formal value> assignment (its right-hand side is
an empty argument standing for the formal), or None for an output
left unconnected.
initial: Option<Expression<'d>>The formal’s initial value (output int ctr = 0), evaluated in the
instantiation’s context. None when it declares none.
Trait Implementations§
Source§impl<'d> Clone for CheckerOutput<'d>
impl<'d> Clone for CheckerOutput<'d>
impl<'d> Copy for CheckerOutput<'d>
Auto Trait Implementations§
impl<'d> !RefUnwindSafe for CheckerOutput<'d>
impl<'d> !UnwindSafe for CheckerOutput<'d>
impl<'d> Freeze for CheckerOutput<'d>
impl<'d> Send for CheckerOutput<'d>
impl<'d> Sync for CheckerOutput<'d>
impl<'d> Unpin for CheckerOutput<'d>
impl<'d> UnsafeUnpin for CheckerOutput<'d>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more