Struct rust_hdl_widgets::pulser::Pulser
source · pub struct Pulser {
pub clock: Signal<In, Clock>,
pub enable: Signal<In, Bit>,
pub pulse: Signal<Out, Bit>,
/* private fields */
}
Fields§
§clock: Signal<In, Clock>
§enable: Signal<In, Bit>
§pulse: Signal<Out, Bit>
Implementations§
Trait Implementations§
source§impl Block for Pulser
impl Block for Pulser
source§fn connect_all(&mut self)
fn connect_all(&mut self)
Connects the internal signals of the circuit - used to initialize the circuit
source§fn update_all(&mut self)
fn update_all(&mut self)
Propogate changes from inputs to outputs within the circuit
source§fn has_changed(&self) -> bool
fn has_changed(&self) -> bool
Returns
true
if anything in the circuit has changed (outputs or internal state)Auto Trait Implementations§
impl RefUnwindSafe for Pulser
impl Send for Pulser
impl Sync for Pulser
impl Unpin for Pulser
impl UnwindSafe for Pulser
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