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