pub struct SegmentDisplay {
pub segments: Signal<Out, Bits<8>>,
pub dimmed: Signal<Out, Bit>,
}
Fields§
§segments: Signal<Out, Bits<8>>
§dimmed: Signal<Out, Bit>
Trait Implementations§
Source§impl Block for SegmentDisplay
impl Block for SegmentDisplay
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)Source§impl Default for SegmentDisplay
impl Default for SegmentDisplay
Source§fn default() -> SegmentDisplay
fn default() -> SegmentDisplay
Returns the “default value” for a type. Read more
Source§impl Logic for SegmentDisplay
impl Logic for SegmentDisplay
Source§impl LogicJoin for SegmentDisplay
impl LogicJoin for SegmentDisplay
Auto Trait Implementations§
impl Freeze for SegmentDisplay
impl RefUnwindSafe for SegmentDisplay
impl Send for SegmentDisplay
impl Sync for SegmentDisplay
impl Unpin for SegmentDisplay
impl UnwindSafe for SegmentDisplay
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