pub struct DeviceBias {
pub reference: String,
pub vbe: f64,
pub vce: f64,
pub ic: f64,
}Expand description
Our (WDF) DC operating point for a single device, read at the engine’s settled bias. Sign convention is the engine’s port convention; the comparison normalizes against ngspice’s junction-magnitude convention.
Fields§
§reference: StringComponent reference, uppercased (e.g. Q1).
vbe: f64Base–emitter port voltage, volts.
vce: f64Collector–emitter port voltage, volts.
ic: f64Collector current, amps.
Trait Implementations§
Source§impl Clone for DeviceBias
impl Clone for DeviceBias
Source§fn clone(&self) -> DeviceBias
fn clone(&self) -> DeviceBias
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeviceBias
impl Debug for DeviceBias
Source§impl<'de> Deserialize<'de> for DeviceBias
impl<'de> Deserialize<'de> for DeviceBias
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DeviceBias
impl RefUnwindSafe for DeviceBias
impl Send for DeviceBias
impl Sync for DeviceBias
impl Unpin for DeviceBias
impl UnsafeUnpin for DeviceBias
impl UnwindSafe for DeviceBias
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