pub struct Subckt {
pub name: Span,
pub ports: Vec<Span>,
pub params: Vec<KeyValue>,
pub ast: AST,
}
Expand description
.subckt pulvt11ll_ckt d g s b w=1e-6 l=1e-6 sa='sar'
...
.ends pulvt11ll_ckt
Do NOT support .include
/ .lib
in .subckt
Fields§
§name: Span
§ports: Vec<Span>
subckt/model name is the last arg
params: Vec<KeyValue>
§ast: AST
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Subckt
impl !RefUnwindSafe for Subckt
impl Send for Subckt
impl Sync for Subckt
impl Unpin for Subckt
impl !UnwindSafe for Subckt
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