Struct rust_hdl::widgets::edge_detector::EdgeDetector
source · [−]pub struct EdgeDetector {
pub input_signal: Signal<In, Bit>,
pub edge_signal: Signal<Out, Bit>,
pub clock: Signal<In, Clock>,
/* private fields */
}
Fields
input_signal: Signal<In, Bit>
edge_signal: Signal<Out, Bit>
clock: Signal<In, Clock>
Implementations
sourceimpl EdgeDetector
impl EdgeDetector
Trait Implementations
sourceimpl Block for EdgeDetector
impl Block for EdgeDetector
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 EdgeDetector
impl Send for EdgeDetector
impl Sync for EdgeDetector
impl Unpin for EdgeDetector
impl UnwindSafe for EdgeDetector
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