pub struct FluxDensityLossPair {
pub flux_density: Quantity<dyn Dimension<Kind = dyn Kind, M = PInt<UInt<UTerm, B1>>, L = Z0, Th = Z0, N = Z0, I = NInt<UInt<UTerm, B1>>, J = Z0, T = NInt<UInt<UInt<UTerm, B1>, B0>>>, dyn Units<f64, time = second, electric_current = ampere, luminous_intensity = candela, length = meter, mass = kilogram, thermodynamic_temperature = kelvin, amount_of_substance = mole>, f64>,
pub specific_loss: Quantity<dyn Dimension<Kind = dyn Kind, M = Z0, L = PInt<UInt<UInt<UTerm, B1>, B0>>, Th = Z0, N = Z0, I = Z0, J = Z0, T = NInt<UInt<UInt<UTerm, B1>, B1>>>, dyn Units<f64, time = second, electric_current = ampere, luminous_intensity = candela, length = meter, mass = kilogram, thermodynamic_temperature = kelvin, amount_of_substance = mole>, f64>,
}Expand description
A single datapoint of an IronLossCharacteristic.
This struct represents the specific losses in a lamination sheet created by a
sinusoidal magnetic field with the amplitude
FluxDensityLossPair::flux_density at a given frequency. It is meant to be
a building block of a IronLossCharacteristic, where also the aforementioned
frequency is specified. See the docstring of IronLossCharacteristic for
examples.
Fields§
§flux_density: Quantity<dyn Dimension<Kind = dyn Kind, M = PInt<UInt<UTerm, B1>>, L = Z0, Th = Z0, N = Z0, I = NInt<UInt<UTerm, B1>>, J = Z0, T = NInt<UInt<UInt<UTerm, B1>, B0>>>, dyn Units<f64, time = second, electric_current = ampere, luminous_intensity = candela, length = meter, mass = kilogram, thermodynamic_temperature = kelvin, amount_of_substance = mole>, f64>Flux density of the datapoint.
specific_loss: Quantity<dyn Dimension<Kind = dyn Kind, M = Z0, L = PInt<UInt<UInt<UTerm, B1>, B0>>, Th = Z0, N = Z0, I = Z0, J = Z0, T = NInt<UInt<UInt<UTerm, B1>, B1>>>, dyn Units<f64, time = second, electric_current = ampere, luminous_intensity = candela, length = meter, mass = kilogram, thermodynamic_temperature = kelvin, amount_of_substance = mole>, f64>Specific losses of the datapoint.
Implementations§
Source§impl FluxDensityLossPair
impl FluxDensityLossPair
Sourcepub fn new(
flux_density: Quantity<dyn Dimension<Kind = dyn Kind, M = PInt<UInt<UTerm, B1>>, L = Z0, Th = Z0, N = Z0, I = NInt<UInt<UTerm, B1>>, J = Z0, T = NInt<UInt<UInt<UTerm, B1>, B0>>>, dyn Units<f64, time = second, electric_current = ampere, luminous_intensity = candela, length = meter, mass = kilogram, thermodynamic_temperature = kelvin, amount_of_substance = mole>, f64>,
specific_loss: Quantity<dyn Dimension<Kind = dyn Kind, M = Z0, L = PInt<UInt<UInt<UTerm, B1>, B0>>, Th = Z0, N = Z0, I = Z0, J = Z0, T = NInt<UInt<UInt<UTerm, B1>, B1>>>, dyn Units<f64, time = second, electric_current = ampere, luminous_intensity = candela, length = meter, mass = kilogram, thermodynamic_temperature = kelvin, amount_of_substance = mole>, f64>,
) -> FluxDensityLossPair
pub fn new( flux_density: Quantity<dyn Dimension<Kind = dyn Kind, M = PInt<UInt<UTerm, B1>>, L = Z0, Th = Z0, N = Z0, I = NInt<UInt<UTerm, B1>>, J = Z0, T = NInt<UInt<UInt<UTerm, B1>, B0>>>, dyn Units<f64, time = second, electric_current = ampere, luminous_intensity = candela, length = meter, mass = kilogram, thermodynamic_temperature = kelvin, amount_of_substance = mole>, f64>, specific_loss: Quantity<dyn Dimension<Kind = dyn Kind, M = Z0, L = PInt<UInt<UInt<UTerm, B1>, B0>>, Th = Z0, N = Z0, I = Z0, J = Z0, T = NInt<UInt<UInt<UTerm, B1>, B1>>>, dyn Units<f64, time = second, electric_current = ampere, luminous_intensity = candela, length = meter, mass = kilogram, thermodynamic_temperature = kelvin, amount_of_substance = mole>, f64>, ) -> FluxDensityLossPair
Creates a new FluxDensityLossPair from its fields.
Trait Implementations§
Source§impl Clone for FluxDensityLossPair
impl Clone for FluxDensityLossPair
Source§fn clone(&self) -> FluxDensityLossPair
fn clone(&self) -> FluxDensityLossPair
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 FluxDensityLossPair
impl Debug for FluxDensityLossPair
Source§impl<'de> Deserialize<'de> for FluxDensityLossPair
impl<'de> Deserialize<'de> for FluxDensityLossPair
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<FluxDensityLossPair, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<FluxDensityLossPair, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for FluxDensityLossPair
impl Serialize for FluxDensityLossPair
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for FluxDensityLossPair
impl RefUnwindSafe for FluxDensityLossPair
impl Send for FluxDensityLossPair
impl Sync for FluxDensityLossPair
impl Unpin for FluxDensityLossPair
impl UnsafeUnpin for FluxDensityLossPair
impl UnwindSafe for FluxDensityLossPair
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more