Struct Inductor
pub struct Inductor { /* private fields */ }Expand description
Inductor — energy-storage element.
b[n] = -z^{-1} a[n]
Rp = 2 * fs * L
Implementations§
Trait Implementations§
impl Copy for Inductor
§impl WdfLeaf for Inductor
impl WdfLeaf for Inductor
§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 Inductor
impl RefUnwindSafe for Inductor
impl Send for Inductor
impl Sync for Inductor
impl Unpin for Inductor
impl UnsafeUnpin for Inductor
impl UnwindSafe for Inductor
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