pub enum InstanceCtx<'s> {
Resistor(<ResistorBuilder as Builder<'s>>::Out),
Capacitor(<CapacitorBuilder as Builder<'s>>::Out),
Inductor(<InductorBuilder as Builder<'s>>::Out),
Voltage(<VoltageBuilder as Builder<'s>>::Out),
Current(<CurrentBuilder as Builder<'s>>::Out),
MOSFET(<MOSFETBuilder as Builder<'s>>::Out),
BJT(<BJTBuilder as Builder<'s>>::Out),
Diode(<DiodeBuilder as Builder<'s>>::Out),
Subckt(<SubcktBuilder as Builder<'s>>::Out),
Unknown {
type: <u8 as Builder<'s>>::Out,
ports: <Vec<Span> as Builder<'s>>::Out,
params: <Vec<KeyValueBuilder> as Builder<'s>>::Out,
},
}
Variants§
Resistor(<ResistorBuilder as Builder<'s>>::Out)
Capacitor(<CapacitorBuilder as Builder<'s>>::Out)
Inductor(<InductorBuilder as Builder<'s>>::Out)
Voltage(<VoltageBuilder as Builder<'s>>::Out)
Current(<CurrentBuilder as Builder<'s>>::Out)
MOSFET(<MOSFETBuilder as Builder<'s>>::Out)
BJT(<BJTBuilder as Builder<'s>>::Out)
Diode(<DiodeBuilder as Builder<'s>>::Out)
Subckt(<SubcktBuilder as Builder<'s>>::Out)
Unknown
Trait Implementations§
Source§impl<'s> Clone for InstanceCtx<'s>
impl<'s> Clone for InstanceCtx<'s>
Source§fn clone(&self) -> InstanceCtx<'s>
fn clone(&self) -> InstanceCtx<'s>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'s> Debug for InstanceCtx<'s>
impl<'s> Debug for InstanceCtx<'s>
Auto Trait Implementations§
impl<'s> Freeze for InstanceCtx<'s>
impl<'s> RefUnwindSafe for InstanceCtx<'s>
impl<'s> Send for InstanceCtx<'s>
impl<'s> Sync for InstanceCtx<'s>
impl<'s> Unpin for InstanceCtx<'s>
impl<'s> UnwindSafe for InstanceCtx<'s>
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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