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
sourceimpl Block for Pulser
impl Block for Pulser
sourcefn connect_all(&mut self)
fn connect_all(&mut self)
Connects the internal signals of the circuit - used to initialize the circuit
sourcefn update_all(&mut self)
fn update_all(&mut self)
Propogate changes from inputs to outputs within the circuit
sourcefn 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more