pub struct InductorResult {
pub din_mils: f64,
pub rho: f64,
pub d_avg_mils: f64,
pub inductance_nh: f64,
}Expand description
Result of a planar spiral inductor calculation.
Fields§
§din_mils: f64Inner diameter of the spiral in mils.
rho: f64Fill factor ρ = (dout − din) / (dout + din).
d_avg_mils: f64Average diameter d_avg = (dout + din) / 2, in mils.
inductance_nh: f64Calculated inductance in nanohenries.
Trait Implementations§
Source§impl Clone for InductorResult
impl Clone for InductorResult
Source§fn clone(&self) -> InductorResult
fn clone(&self) -> InductorResult
Returns a duplicate 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 Debug for InductorResult
impl Debug for InductorResult
Source§impl<'de> Deserialize<'de> for InductorResult
impl<'de> Deserialize<'de> for InductorResult
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
Source§impl PartialEq for InductorResult
impl PartialEq for InductorResult
Source§impl Serialize for InductorResult
impl Serialize for InductorResult
impl StructuralPartialEq for InductorResult
Auto Trait Implementations§
impl Freeze for InductorResult
impl RefUnwindSafe for InductorResult
impl Send for InductorResult
impl Sync for InductorResult
impl Unpin for InductorResult
impl UnsafeUnpin for InductorResult
impl UnwindSafe for InductorResult
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