Struct SinglePortGroupAdapter
pub struct SinglePortGroupAdapter<'a>(pub &'a dyn NlDeviceIv);Expand description
Adapts a single-port NlDeviceIv into a 1-port NlDeviceGroupIv.
This allows mixing independent NL devices (diodes, pentodes) with cross-coupled device groups (triodes) in the same grouped NR solver. The adapter wraps the single-port I-V into the grouped interface with a trivial 1×1 Jacobian.
Tuple Fields§
§0: &'a dyn NlDeviceIvTrait Implementations§
§impl NlDeviceGroupIv for SinglePortGroupAdapter<'_>
impl NlDeviceGroupIv for SinglePortGroupAdapter<'_>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for SinglePortGroupAdapter<'a>
impl<'a> !Send for SinglePortGroupAdapter<'a>
impl<'a> !Sync for SinglePortGroupAdapter<'a>
impl<'a> !UnwindSafe for SinglePortGroupAdapter<'a>
impl<'a> Freeze for SinglePortGroupAdapter<'a>
impl<'a> Unpin for SinglePortGroupAdapter<'a>
impl<'a> UnsafeUnpin for SinglePortGroupAdapter<'a>
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