pub struct Diode {
pub name: String,
pub nodes: [String; 2],
pub model: DiodeModel,
pub area: f64,
pub off: bool,
pub temp: Option<f64>,
pub ic: Option<f64>,
}Expand description
DXXXXXXX N+ N- MNAME <AREA> <OFF> with its model inline.
Fields§
§name: String§nodes: [String; 2]§model: DiodeModel§area: f64§off: bool§temp: Option<f64>Instance temperature override, kelvin (TEMP= is °C on the
card).
ic: Option<f64>IC=VD: initial junction voltage under .tran … UIC.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Diode
impl Freeze for Diode
impl Move for Diode
impl RefUnwindSafe for Diode
impl Send for Diode
impl Sync for Diode
impl Unpin for Diode
impl UnsafeUnpin for Diode
impl UnwindSafe for Diode
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