pub struct Inductance(/* private fields */);Expand description
Implementations§
Source§impl Inductance
impl Inductance
Sourcepub fn in_unit(self, unit: InductanceUnit) -> f64
pub fn in_unit(self, unit: InductanceUnit) -> f64
Get value in the specified InductanceUnit.
Sourcepub fn display_as(self, unit: InductanceUnit) -> DisplayWithUnit
pub fn display_as(self, unit: InductanceUnit) -> DisplayWithUnit
Return a display wrapper that formats this inductance in the given unit.
Trait Implementations§
Source§impl Add for Inductance
impl Add for Inductance
Source§impl AddAssign for Inductance
impl AddAssign for Inductance
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+= operation. Read moreSource§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 Default for Inductance
impl Default for Inductance
Source§fn default() -> Inductance
fn default() -> Inductance
Returns the “default value” for a type. Read more
Source§impl Display for Inductance
impl Display for Inductance
Source§impl Div<f64> for Inductance
impl Div<f64> for Inductance
Source§impl Div for Inductance
impl Div for Inductance
Source§impl DivAssign<f64> for Inductance
impl DivAssign<f64> for Inductance
Source§fn div_assign(&mut self, rhs: f64)
fn div_assign(&mut self, rhs: f64)
Performs the
/= operation. Read moreSource§impl Mul<ElectricCurrent> for Inductance
impl Mul<ElectricCurrent> for Inductance
Source§type Output = MagneticFlux
type Output = MagneticFlux
The resulting type after applying the
* operator.Source§fn mul(self, rhs: ElectricCurrent) -> MagneticFlux
fn mul(self, rhs: ElectricCurrent) -> MagneticFlux
Performs the
* operation. Read moreSource§impl Mul<Inductance> for ElectricCurrent
impl Mul<Inductance> for ElectricCurrent
Source§type Output = MagneticFlux
type Output = MagneticFlux
The resulting type after applying the
* operator.Source§fn mul(self, rhs: Inductance) -> MagneticFlux
fn mul(self, rhs: Inductance) -> MagneticFlux
Performs the
* operation. Read moreSource§impl Mul<Inductance> for f64
impl Mul<Inductance> for f64
Source§type Output = Inductance
type Output = Inductance
The resulting type after applying the
* operator.Source§fn mul(self, rhs: Inductance) -> Inductance
fn mul(self, rhs: Inductance) -> Inductance
Performs the
* operation. Read moreSource§impl Mul<f64> for Inductance
impl Mul<f64> for Inductance
Source§impl MulAssign<f64> for Inductance
impl MulAssign<f64> for Inductance
Source§fn mul_assign(&mut self, rhs: f64)
fn mul_assign(&mut self, rhs: f64)
Performs the
*= operation. Read moreSource§impl Neg for Inductance
impl Neg for Inductance
Source§impl PartialEq for Inductance
impl PartialEq for Inductance
Source§impl PartialOrd for Inductance
impl PartialOrd for Inductance
Source§impl Sub for Inductance
impl Sub for Inductance
Source§impl SubAssign for Inductance
impl SubAssign for Inductance
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-= operation. Read moreSource§impl Sum for Inductance
impl Sum 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