pub enum ModelType<'s> {
Show 17 variants
AMP,
C,
CORE,
D,
L,
NJF,
NMOS,
NPN,
OPT,
PJF,
PMOS,
PNP,
R,
U,
W,
S,
Unknown(<Span as Builder<'s>>::Out),
}
Variants§
AMP
operational amplifier model
C
capacitor model
CORE
magnetic core model
D
diode model
L
inductor model or magnetic core mutual inductor model
NJF
n-channel JFET model
NMOS
n-channel MOSFET model
NPN
npn BJT model
OPT
optimization model
PJF
p-channel JFET model
PMOS
p-channel MOSFET model
PNP
pnp BJT model
R
resistor model
U
lossy transmission line model (lumped)
W
lossy transmission line model
S
S-parameter
Unknown(<Span as Builder<'s>>::Out)
Trait Implementations§
Auto Trait Implementations§
impl<'s> Freeze for ModelType<'s>
impl<'s> RefUnwindSafe for ModelType<'s>
impl<'s> Send for ModelType<'s>
impl<'s> Sync for ModelType<'s>
impl<'s> Unpin for ModelType<'s>
impl<'s> UnwindSafe for ModelType<'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