pub enum NeighborRole {
Load,
Ref,
Signal,
}Expand description
Device-agnostic classification of what a neighbouring passive (or active) element does for an active device’s terminal.
This is the durable, role-based replacement for the role-blind topology heuristic that currently sets stage boundaries. A later “arbitration” phase will consume these roles to decide where stages split; this declaration + inference + completeness pass changes no audio behaviour — its only runtime-visible effect is a compile-time completeness diagnostic.
Variants§
Load
Develops the device’s output. Terminates at a supply rail (plate / collector / drain load; a cathode-follower’s cathode load) — and may equally be a transformer winding or another active device acting as the load. Conceptually absorbed into the device’s stage.
Ref
DC operating-point / AC-grounded support: grid leak, base divider, cathode / emitter bias R, cathode / screen bypass C, screen dropper. Absorbed.
Signal
Series through-path to the NEXT active stage: coupling cap, grid stopper. This is the future stage boundary (and ordering edge).
Implementations§
Trait Implementations§
Source§impl Clone for NeighborRole
impl Clone for NeighborRole
Source§fn clone(&self) -> NeighborRole
fn clone(&self) -> NeighborRole
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for NeighborRole
Source§impl Debug for NeighborRole
impl Debug for NeighborRole
impl Eq for NeighborRole
Source§impl Hash for NeighborRole
impl Hash for NeighborRole
Source§impl PartialEq for NeighborRole
impl PartialEq for NeighborRole
Source§fn eq(&self, other: &NeighborRole) -> bool
fn eq(&self, other: &NeighborRole) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NeighborRole
Auto Trait Implementations§
impl Freeze for NeighborRole
impl RefUnwindSafe for NeighborRole
impl Send for NeighborRole
impl Sync for NeighborRole
impl Unpin for NeighborRole
impl UnsafeUnpin for NeighborRole
impl UnwindSafe for NeighborRole
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
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
key and return true if they are equal.