pub enum Strength {
Strong,
Weak,
}Expand description
How hard a node is driven.
Two levels is the whole electrical model. A push-pull chip pin is Strong;
a supply rail is Strong; a resistor passing a level through is Weak.
Resolution is “strong beats weak, two strongs that disagree are a short”,
which covers series resistors, pull-ups and buttons without an analog
solver.
Variants§
Trait Implementations§
impl Copy for Strength
impl Eq for Strength
impl StructuralPartialEq for Strength
Auto Trait Implementations§
impl Forget for Strength
impl Freeze for Strength
impl Move for Strength
impl RefUnwindSafe for Strength
impl Send for Strength
impl Sync for Strength
impl Unpin for Strength
impl UnsafeUnpin for Strength
impl UnwindSafe for Strength
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