pub struct SwitchV {
pub name: String,
pub nodes: [String; 4],
pub model: SwModel,
pub on: bool,
}Expand description
SXXXXXXX N+ N- NC+ NC- MODEL <ON|OFF>: voltage-controlled
switch with its model inline (dev/sw/).
Fields§
§name: String§nodes: [String; 4]Switch +/−, control +/−.
model: SwModel§on: boolON (true) or OFF/nothing: the state the operating point
starts from (SWzero_stateGiven).
Trait Implementations§
Auto Trait Implementations§
impl Forget for SwitchV
impl Freeze for SwitchV
impl Move for SwitchV
impl RefUnwindSafe for SwitchV
impl Send for SwitchV
impl Sync for SwitchV
impl Unpin for SwitchV
impl UnsafeUnpin for SwitchV
impl UnwindSafe for SwitchV
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