pub trait FieldStrengthOrFluxDensity: Sealed {
// Required method
fn permeability(self, permeability: &FerromagneticPermeability) -> f64;
}Expand description
Sealed helper trait for FerromagneticPermeability::get.
This sealed trait is implemented for MagneticFieldStrength and
MagneticFluxDensity to enable FerromagneticPermeability::get to receive
either of the two quantities as arguments. It is not meant to be implemented for
any other types or to be used on its own.
Required Methods§
Sourcefn permeability(self, permeability: &FerromagneticPermeability) -> f64
fn permeability(self, permeability: &FerromagneticPermeability) -> f64
Returns the relative permeability for self.
This function is used to implement FerromagneticPermeability::get and
not meant to be used on its own.