pub struct SubcktBuilder {
pub name: Span,
pub ports: Vec<Span>,
pub params: Vec<KeyValueBuilder>,
pub ast: ASTBuilder,
}Expand description
.subckt pulvt11ll_ckt d g s b w=1e-6 l=1e-6 sa='sar'
...
.ends pulvt11ll_cktDo NOT support .include / .lib in .subckt
Fields§
§name: Span§ports: Vec<Span>subckt/model name is the last arg
params: Vec<KeyValueBuilder>§ast: ASTBuilderTrait Implementations§
Auto Trait Implementations§
impl Freeze for SubcktBuilder
impl !RefUnwindSafe for SubcktBuilder
impl Send for SubcktBuilder
impl Sync for SubcktBuilder
impl Unpin for SubcktBuilder
impl !UnwindSafe for SubcktBuilder
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more