Struct Resistor
pub struct Resistor { /* private fields */ }Expand description
Ideal resistor — absorbs everything, reflects nothing.
b = 0 (matched termination when Rp == R)
Implementations§
Trait Implementations§
impl Copy for Resistor
§impl WdfLeaf for Resistor
impl WdfLeaf for Resistor
§fn port_resistance(&self) -> f64
fn port_resistance(&self) -> f64
Port resistance seen looking into this element (Ω).
§fn set_incident(&mut self, _a: f64)
fn set_incident(&mut self, _a: f64)
Accept the incident wave after scatter_down phase. Read more
§fn set_sample_rate(&mut self, _sample_rate: f64)
fn set_sample_rate(&mut self, _sample_rate: f64)
Update sample rate (for reactive elements C, L).
Auto Trait Implementations§
impl Freeze for Resistor
impl RefUnwindSafe for Resistor
impl Send for Resistor
impl Sync for Resistor
impl Unpin for Resistor
impl UnsafeUnpin for Resistor
impl UnwindSafe for Resistor
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