pub enum VarType {
Show 15 variants
NoType,
Time,
Frequency,
Voltage,
Current,
OnoiseSpectrum,
OnoiseIntegrated,
InoiseSpectrum,
InoiseIntegrated,
OutputNoise,
InputNoise,
Pole,
Zero,
SParam,
Other(String),
}Expand description
Vector type, as named in the rawfile Variables: table.
The canonical names come from the types[] table in
corpus/spice3f5/src/lib/fte/types.c. The type is stored by name,
not by the SV_* index: the 3f5 table and the SV_* constants in
fteconst.h disagree from index 5 on (the table kept four noise
entries the constants collapsed into two), so round-tripping the name
is the only unambiguous representation.
Variants§
NoType
Time
Frequency
Voltage
Current
OnoiseSpectrum
OnoiseIntegrated
InoiseSpectrum
InoiseIntegrated
OutputNoise
InputNoise
Pole
Zero
SParam
Other(String)
A name not in the 3f5 table (e.g. ngspice additions). Kept verbatim so writing it back is lossless.
Implementations§
Trait Implementations§
impl Eq for VarType
impl StructuralPartialEq for VarType
Auto Trait Implementations§
impl Forget for VarType
impl Freeze for VarType
impl Move for VarType
impl RefUnwindSafe for VarType
impl Send for VarType
impl Sync for VarType
impl Unpin for VarType
impl UnsafeUnpin for VarType
impl UnwindSafe for VarType
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