pub struct CswModel {
pub it: f64,
pub ih: f64,
pub ron: Option<f64>,
pub roff: Option<f64>,
}Expand description
.model … csw(…) parameters, 3f5 names (csw.c model table) and
the defaults of CSWsetup.
Fields§
§it: f64IT: threshold current, default 0.
ih: f64IH: hysteresis current, default 0. Kept signed (ngspice; the
3f5 stores |IH|).
ron: Option<f64>RON: closed resistance, default 1 Ω.
roff: Option<f64>ROFF: open resistance, default 1/GMIN.
Trait Implementations§
Auto Trait Implementations§
impl Forget for CswModel
impl Freeze for CswModel
impl Move for CswModel
impl RefUnwindSafe for CswModel
impl Send for CswModel
impl Sync for CswModel
impl Unpin for CswModel
impl UnsafeUnpin for CswModel
impl UnwindSafe for CswModel
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