pub struct SwitchI {
pub name: String,
pub nodes: [String; 2],
pub ctrl: String,
pub model: CswModel,
pub on: bool,
}Expand description
WXXXXXXX N+ N- VNAM MODEL <ON|OFF>: current-controlled switch
keyed by the branch current of voltage source ctrl, with its
model inline (dev/csw/).
Fields§
§name: String§nodes: [String; 2]§ctrl: String§model: CswModel§on: boolON (true) or OFF/nothing (CSWzero_stateGiven).
Trait Implementations§
Auto Trait Implementations§
impl Forget for SwitchI
impl Freeze for SwitchI
impl Move for SwitchI
impl RefUnwindSafe for SwitchI
impl Send for SwitchI
impl Sync for SwitchI
impl Unpin for SwitchI
impl UnsafeUnpin for SwitchI
impl UnwindSafe for SwitchI
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