pub struct DiodeClipper<T: Transcendental> {
pub left: Resistor<T>,
pub right: AntiParallelDiode<T>,
}Expand description
Series composite of two WDF elements.
Port resistance is the sum of element resistances. Incident waves are distributed proportionally to each element’s resistance share.
Fields§
§left: Resistor<T>Left (first) WDF element in the series composite.
right: AntiParallelDiode<T>Right (second) WDF element in the series composite.
Implementations§
Source§impl<T: Transcendental> DiodeClipper<T>
impl<T: Transcendental> DiodeClipper<T>
Trait Implementations§
Source§impl<T: Clone + Transcendental> Clone for DiodeClipper<T>
impl<T: Clone + Transcendental> Clone for DiodeClipper<T>
Source§fn clone(&self) -> DiodeClipper<T>
fn clone(&self) -> DiodeClipper<T>
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 moreimpl<T: Copy + Transcendental> Copy for DiodeClipper<T>
Source§impl<T: Debug + Transcendental> Debug for DiodeClipper<T>
impl<T: Debug + Transcendental> Debug for DiodeClipper<T>
Source§impl<T: Transcendental> WdfElement<T> for DiodeClipper<T>
impl<T: Transcendental> WdfElement<T> for DiodeClipper<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 DiodeClipper<T>where
T: Freeze,
impl<T> RefUnwindSafe for DiodeClipper<T>where
T: RefUnwindSafe,
impl<T> Send for DiodeClipper<T>
impl<T> Sync for DiodeClipper<T>
impl<T> Unpin for DiodeClipper<T>where
T: Unpin,
impl<T> UnsafeUnpin for DiodeClipper<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for DiodeClipper<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