pub struct Inductance(pub f64);Expand description
An inductance value stored in canonical Henries.
Parses strings like "10nH", "1uH", "1µH", "100mH".
Bare numbers (no suffix) are interpreted as Henries.
Tuple Fields§
§0: f64Implementations§
Trait Implementations§
Source§impl Clone for Inductance
impl Clone for Inductance
Source§fn clone(&self) -> Inductance
fn clone(&self) -> Inductance
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 Inductance
impl Debug for Inductance
Source§impl Display for Inductance
impl Display for Inductance
Source§impl FromStr for Inductance
impl FromStr for Inductance
Source§impl PartialEq for Inductance
impl PartialEq for Inductance
impl Copy for Inductance
impl StructuralPartialEq for Inductance
Auto Trait Implementations§
impl Freeze for Inductance
impl RefUnwindSafe for Inductance
impl Send for Inductance
impl Sync for Inductance
impl Unpin for Inductance
impl UnsafeUnpin for Inductance
impl UnwindSafe for Inductance
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