pub struct Monitor(/* private fields */);
Expand description
A monitor.
On reset and on clock, whatever value is presesnted to the in
port is printed.
Implementations§
Trait Implementations§
source§impl Ext for Monitor
impl Ext for Monitor
fn name(&self) -> String
fn incoming_ports(&self) -> Vec<PortName>
fn outgoing_ports(&self) -> Vec<PortName>
fn instantiate(&mut self, path: Path)
fn update( &mut self, path: Path, _port: &PortName, value: Value ) -> Vec<(PortName, Value)>
fn clock(&mut self, path: Path) -> Vec<(PortName, Value)>
fn reset(&mut self, path: Path) -> Vec<(PortName, Value)>
Auto Trait Implementations§
impl RefUnwindSafe for Monitor
impl Send for Monitor
impl Sync for Monitor
impl Unpin for Monitor
impl UnwindSafe for Monitor
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