pub struct Asrc {
pub name: String,
pub nodes: [String; 2],
pub kind: SourceKind,
pub expr: Expr,
}Expand description
BXXXXXXX N+ N- V=EXPR or I=EXPR: the arbitrary source of the
3f5 (dev/asrc/). expr is the parse tree
dune_netlist::parse_expr builds; its v(node) and
i(device) references resolve at build time like every other
name (an i() must name a device with a branch equation: V, E,
H, L or a voltage-type B). A Voltage source drives v(N+) − v(N−) to the expression; a Current one makes it flow from N+
through the source to N−.
Fields§
§name: String§nodes: [String; 2]§kind: SourceKind§expr: ExprTrait Implementations§
Auto Trait Implementations§
impl Forget for Asrc
impl Freeze for Asrc
impl Move for Asrc
impl RefUnwindSafe for Asrc
impl Send for Asrc
impl Sync for Asrc
impl Unpin for Asrc
impl UnsafeUnpin for Asrc
impl UnwindSafe for Asrc
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