pub enum InstanceCtx<'s> {
Resistor(Resistor<'s>),
Capacitor(Capacitor<'s>),
Inductor(Inductor<'s>),
Voltage(Voltage<'s>),
Current(Current<'s>),
MOSFET(MOSFET<'s>),
BJT(BJT<'s>),
Diode(Diode<'s>),
Subckt(Subckt<'s>),
Unknown {
type: u8,
ports: Vec<Cow<'s, str>>,
params: Vec<KeyValue<'s>>,
},
}Variants§
Resistor(Resistor<'s>)
Capacitor(Capacitor<'s>)
Inductor(Inductor<'s>)
Voltage(Voltage<'s>)
Current(Current<'s>)
MOSFET(MOSFET<'s>)
BJT(BJT<'s>)
Diode(Diode<'s>)
Subckt(Subckt<'s>)
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 copy 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