pub struct DelayLine<D: Synth, const N: usize, const W: usize> {
pub clock: Signal<In, Clock>,
pub data_in: Signal<In, D>,
pub data_out: Signal<Out, D>,
pub delay: Signal<In, Bits<W>>,
/* private fields */
}
Fields§
§clock: Signal<In, Clock>
§data_in: Signal<In, D>
§data_out: Signal<Out, D>
§delay: Signal<In, Bits<W>>
Trait Implementations§
Source§impl<D: Synth, const N: usize, const W: usize> Block for DelayLine<D, N, W>
impl<D: Synth, const N: usize, const W: usize> Block for DelayLine<D, N, W>
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<D, const N: usize, const W: usize> Freeze for DelayLine<D, N, W>where
D: Freeze,
impl<D, const N: usize, const W: usize> RefUnwindSafe for DelayLine<D, N, W>where
D: RefUnwindSafe,
impl<D, const N: usize, const W: usize> Send for DelayLine<D, N, W>where
D: Send,
impl<D, const N: usize, const W: usize> Sync for DelayLine<D, N, W>where
D: Sync,
impl<D, const N: usize, const W: usize> Unpin for DelayLine<D, N, W>where
D: Unpin,
impl<D, const N: usize, const W: usize> UnwindSafe for DelayLine<D, N, W>where
D: UnwindSafe,
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