pub struct ArealNumberRate(/* private fields */);Implementations§
Source§impl ArealNumberRate
impl ArealNumberRate
pub fn new<U>(value: f32) -> Selfwhere
U: Conversion<f32>,
pub fn get<U>(&self) -> f32where
U: Conversion<f32>,
pub fn raw(&self) -> f32
pub fn into_uom(self) -> ArealNumberRate
pub fn as_uom(&self) -> &ArealNumberRate
pub fn from_uom(inner: ArealNumberRate) -> Self
Methods from Deref<Target = ArealNumberRate>§
pub const HALF_TURN: Quantity<dyn Dimension<T = Z0, L = Z0, M = Z0, N = Z0, I = Z0, J = Z0, Th = Z0, Kind = dyn AngleKind>, dyn Units<f32, thermodynamic_temperature = kelvin, luminous_intensity = candela, time = second, mass = kilogram, length = meter, amount_of_substance = mole, electric_current = ampere>, f32>
pub const FULL_TURN: Quantity<dyn Dimension<T = Z0, L = Z0, M = Z0, N = Z0, I = Z0, J = Z0, Th = Z0, Kind = dyn AngleKind>, dyn Units<f32, thermodynamic_temperature = kelvin, luminous_intensity = candela, time = second, mass = kilogram, length = meter, amount_of_substance = mole, electric_current = ampere>, f32>
pub const HALF_TURN: Quantity<dyn Dimension<T = Z0, L = Z0, M = Z0, N = Z0, I = Z0, J = Z0, Th = Z0, Kind = dyn AngleKind>, dyn Units<f64, thermodynamic_temperature = kelvin, luminous_intensity = candela, time = second, mass = kilogram, length = meter, amount_of_substance = mole, electric_current = ampere>, f64>
pub const FULL_TURN: Quantity<dyn Dimension<T = Z0, L = Z0, M = Z0, N = Z0, I = Z0, J = Z0, Th = Z0, Kind = dyn AngleKind>, dyn Units<f64, thermodynamic_temperature = kelvin, luminous_intensity = candela, time = second, mass = kilogram, length = meter, amount_of_substance = mole, electric_current = ampere>, f64>
pub const SPHERE: Quantity<dyn Dimension<T = Z0, L = Z0, M = Z0, N = Z0, I = Z0, J = Z0, Th = Z0, Kind = dyn SolidAngleKind>, dyn Units<f32, thermodynamic_temperature = kelvin, luminous_intensity = candela, time = second, mass = kilogram, length = meter, amount_of_substance = mole, electric_current = ampere>, f32>
pub const SPHERE: Quantity<dyn Dimension<T = Z0, L = Z0, M = Z0, N = Z0, I = Z0, J = Z0, Th = Z0, Kind = dyn SolidAngleKind>, dyn Units<f64, thermodynamic_temperature = kelvin, luminous_intensity = candela, time = second, mass = kilogram, length = meter, amount_of_substance = mole, electric_current = ampere>, f64>
Trait Implementations§
Source§impl Add for ArealNumberRate
impl Add for ArealNumberRate
Source§impl AddAssign for ArealNumberRate
impl AddAssign for ArealNumberRate
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+= operation. Read moreSource§impl<'de, Context> BorrowDecode<'de, Context> for ArealNumberRate
impl<'de, Context> BorrowDecode<'de, Context> for ArealNumberRate
Source§fn borrow_decode<D: BorrowDecoder<'de, Context = Context>>(
decoder: &mut D,
) -> Result<Self, DecodeError>
fn borrow_decode<D: BorrowDecoder<'de, Context = Context>>( decoder: &mut D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl Clone for ArealNumberRate
impl Clone for ArealNumberRate
Source§fn clone(&self) -> ArealNumberRate
fn clone(&self) -> ArealNumberRate
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 ArealNumberRate
impl Debug for ArealNumberRate
Source§impl<Context> Decode<Context> for ArealNumberRate
impl<Context> Decode<Context> for ArealNumberRate
Source§impl Default for ArealNumberRate
impl Default for ArealNumberRate
Source§impl Deref for ArealNumberRate
impl Deref for ArealNumberRate
Source§type Target = Quantity<dyn Dimension<T = NInt<UInt<UTerm, B1>>, L = NInt<UInt<UInt<UTerm, B1>, B0>>, M = Z0, N = Z0, I = Z0, J = Z0, Th = Z0, Kind = dyn ConstituentConcentrationKind>, dyn Units<f32, thermodynamic_temperature = kelvin, luminous_intensity = candela, time = second, mass = kilogram, length = meter, amount_of_substance = mole, electric_current = ampere>, f32>
type Target = Quantity<dyn Dimension<T = NInt<UInt<UTerm, B1>>, L = NInt<UInt<UInt<UTerm, B1>, B0>>, M = Z0, N = Z0, I = Z0, J = Z0, Th = Z0, Kind = dyn ConstituentConcentrationKind>, dyn Units<f32, thermodynamic_temperature = kelvin, luminous_intensity = candela, time = second, mass = kilogram, length = meter, amount_of_substance = mole, electric_current = ampere>, f32>
The resulting type after dereferencing.
Source§impl<'de> Deserialize<'de> for ArealNumberRate
impl<'de> Deserialize<'de> for ArealNumberRate
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Div<f32> for ArealNumberRate
impl Div<f32> for ArealNumberRate
Source§impl DivAssign<f32> for ArealNumberRate
impl DivAssign<f32> for ArealNumberRate
Source§fn div_assign(&mut self, rhs: f32)
fn div_assign(&mut self, rhs: f32)
Performs the
/= operation. Read moreSource§impl Encode for ArealNumberRate
impl Encode for ArealNumberRate
Source§impl From<ArealNumberRate> for ArealNumberRate
impl From<ArealNumberRate> for ArealNumberRate
Source§fn from(value: ArealNumberRate) -> Self
fn from(value: ArealNumberRate) -> Self
Converts to this type from the input type.
Source§impl From<Quantity<dyn Dimension<T = NInt<UInt<UTerm, B1>>, L = NInt<UInt<UInt<UTerm, B1>, B0>>, M = Z0, N = Z0, I = Z0, J = Z0, Th = Z0, Kind = dyn ConstituentConcentrationKind>, dyn Units<f32, thermodynamic_temperature = kelvin, luminous_intensity = candela, time = second, mass = kilogram, length = meter, amount_of_substance = mole, electric_current = ampere>, f32>> for ArealNumberRate
impl From<Quantity<dyn Dimension<T = NInt<UInt<UTerm, B1>>, L = NInt<UInt<UInt<UTerm, B1>, B0>>, M = Z0, N = Z0, I = Z0, J = Z0, Th = Z0, Kind = dyn ConstituentConcentrationKind>, dyn Units<f32, thermodynamic_temperature = kelvin, luminous_intensity = candela, time = second, mass = kilogram, length = meter, amount_of_substance = mole, electric_current = ampere>, f32>> for ArealNumberRate
Source§fn from(value: ArealNumberRate) -> Self
fn from(value: ArealNumberRate) -> Self
Converts to this type from the input type.
Source§impl Mul<f32> for ArealNumberRate
impl Mul<f32> for ArealNumberRate
Source§impl MulAssign<f32> for ArealNumberRate
impl MulAssign<f32> for ArealNumberRate
Source§fn mul_assign(&mut self, rhs: f32)
fn mul_assign(&mut self, rhs: f32)
Performs the
*= operation. Read moreSource§impl Neg for ArealNumberRate
impl Neg for ArealNumberRate
Source§impl PartialEq for ArealNumberRate
impl PartialEq for ArealNumberRate
Source§impl PartialOrd for ArealNumberRate
impl PartialOrd for ArealNumberRate
Source§impl Serialize for ArealNumberRate
impl Serialize for ArealNumberRate
Source§impl Sub for ArealNumberRate
impl Sub for ArealNumberRate
Source§impl SubAssign for ArealNumberRate
impl SubAssign for ArealNumberRate
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-= operation. Read moreimpl Copy for ArealNumberRate
impl StructuralPartialEq for ArealNumberRate
Auto Trait Implementations§
impl Freeze for ArealNumberRate
impl RefUnwindSafe for ArealNumberRate
impl Send for ArealNumberRate
impl Sync for ArealNumberRate
impl Unpin for ArealNumberRate
impl UnwindSafe for ArealNumberRate
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