pub struct RcPole<T> { /* private fields */ }Expand description
A single WDF element.
params fields are element parameters (e.g. resistance, capacitance);
state fields hold per-sample state. voltage and current are
computed by the WDF traversal.
Implementations§
Trait Implementations§
impl<T: Copy> Copy for RcPole<T>
Source§impl<T: Transcendental> WdfElement<T> for RcPole<T>
impl<T: Transcendental> WdfElement<T> for RcPole<T>
Source§fn port_resistance(&self) -> T
fn port_resistance(&self) -> T
Port resistance
Source§fn process_incident(&mut self, a: T) -> T
fn process_incident(&mut self, a: T) -> T
Process incident wave, return reflected wave
Source§fn update_state(&mut self)
fn update_state(&mut self)
Update internal state (called after wave computation)
Auto Trait Implementations§
impl<T> Freeze for RcPole<T>where
T: Freeze,
impl<T> RefUnwindSafe for RcPole<T>where
T: RefUnwindSafe,
impl<T> Send for RcPole<T>where
T: Send,
impl<T> Sync for RcPole<T>where
T: Sync,
impl<T> Unpin for RcPole<T>where
T: Unpin,
impl<T> UnsafeUnpin for RcPole<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for RcPole<T>where
T: UnwindSafe,
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