Skip to main content

pcb_toolkit/impedance/
types.rs

1use serde::{Deserialize, Serialize};
2
3/// Result of an impedance calculation.
4#[derive(Debug, Clone, Serialize, Deserialize)]
5pub struct ImpedanceResult {
6    /// Characteristic impedance (Ohms).
7    pub zo: f64,
8    /// Effective dielectric constant (dimensionless).
9    pub er_eff: f64,
10    /// Propagation delay (ps/in).
11    pub tpd_ps_per_in: f64,
12    /// Inductance per unit length (nH/in).
13    pub lo_nh_per_in: f64,
14    /// Capacitance per unit length (pF/in).
15    pub co_pf_per_in: f64,
16}