pub enum SignalTerminals {
Passive,
TwoPort {
input: &'static str,
output: &'static str,
},
Amplifier {
input: &'static str,
output: &'static str,
control: Option<&'static str>,
},
}Expand description
Signal flow classification for a component’s pins.
Used by feedback analysis to determine which components are coupled through feedback loops. The Component trait drives all decisions — no hardcoded component-type matching in the pipeline.
Variants§
Passive
No directionality — R, C, L, pot. Signal flows either way.
TwoPort
Unidirectional two-port — diode (a→b). Signal has a preferred direction.
Amplifier
Amplifier with input, output, and optional control pin. Op-amp: input=neg, output=out, control=Some(pos). BJT: input=base, output=collector, control=None. Tube: input=grid, output=plate, control=None.
Trait Implementations§
Source§impl Clone for SignalTerminals
impl Clone for SignalTerminals
Source§fn clone(&self) -> SignalTerminals
fn clone(&self) -> SignalTerminals
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SignalTerminals
impl Debug for SignalTerminals
impl Eq for SignalTerminals
Source§impl PartialEq for SignalTerminals
impl PartialEq for SignalTerminals
Source§fn eq(&self, other: &SignalTerminals) -> bool
fn eq(&self, other: &SignalTerminals) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SignalTerminals
Auto Trait Implementations§
impl Freeze for SignalTerminals
impl RefUnwindSafe for SignalTerminals
impl Send for SignalTerminals
impl Sync for SignalTerminals
impl Unpin for SignalTerminals
impl UnsafeUnpin for SignalTerminals
impl UnwindSafe for SignalTerminals
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.