#[repr(transparent)]pub struct VolumetricNumberRate {
pub value: f64,
}Fields§
§value: f64Implementations§
Source§impl VolumetricNumberRate
impl VolumetricNumberRate
pub fn new<U>(value: f64) -> Selfwhere
U: Conversion<f64>,
pub fn get<U>(&self) -> f64where
U: Conversion<f64>,
pub fn raw(&self) -> f64
pub fn into_uom(self) -> VolumetricNumberRate
pub fn as_uom(&self) -> VolumetricNumberRate
pub fn from_uom(inner: VolumetricNumberRate) -> Self
Trait Implementations§
Source§impl Add for VolumetricNumberRate
impl Add for VolumetricNumberRate
Source§impl AddAssign for VolumetricNumberRate
impl AddAssign for VolumetricNumberRate
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 VolumetricNumberRate
impl<'de, Context> BorrowDecode<'de, Context> for VolumetricNumberRate
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 VolumetricNumberRate
impl Clone for VolumetricNumberRate
Source§fn clone(&self) -> VolumetricNumberRate
fn clone(&self) -> VolumetricNumberRate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VolumetricNumberRate
Source§impl Debug for VolumetricNumberRate
impl Debug for VolumetricNumberRate
Source§impl<Context> Decode<Context> for VolumetricNumberRate
impl<Context> Decode<Context> for VolumetricNumberRate
Source§impl Default for VolumetricNumberRate
impl Default for VolumetricNumberRate
Source§impl<'de> Deserialize<'de> for VolumetricNumberRate
impl<'de> Deserialize<'de> for VolumetricNumberRate
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<f64> for VolumetricNumberRate
impl Div<f64> for VolumetricNumberRate
Source§impl DivAssign<f64> for VolumetricNumberRate
impl DivAssign<f64> for VolumetricNumberRate
Source§fn div_assign(&mut self, rhs: f64)
fn div_assign(&mut self, rhs: f64)
Performs the
/= operation. Read moreSource§impl Encode for VolumetricNumberRate
impl Encode for VolumetricNumberRate
Source§impl From<Quantity<dyn Dimension<J = Z0, L = NInt<UInt<UInt<UTerm, B1>, B1>>, N = Z0, I = Z0, T = NInt<UInt<UTerm, B1>>, Kind = dyn ConstituentConcentrationKind, Th = Z0, M = Z0>, dyn Units<f64, electric_current = ampere, length = meter, amount_of_substance = mole, time = second, mass = kilogram, thermodynamic_temperature = kelvin, luminous_intensity = candela>, f64>> for VolumetricNumberRate
impl From<Quantity<dyn Dimension<J = Z0, L = NInt<UInt<UInt<UTerm, B1>, B1>>, N = Z0, I = Z0, T = NInt<UInt<UTerm, B1>>, Kind = dyn ConstituentConcentrationKind, Th = Z0, M = Z0>, dyn Units<f64, electric_current = ampere, length = meter, amount_of_substance = mole, time = second, mass = kilogram, thermodynamic_temperature = kelvin, luminous_intensity = candela>, f64>> for VolumetricNumberRate
Source§fn from(value: VolumetricNumberRate) -> Self
fn from(value: VolumetricNumberRate) -> Self
Converts to this type from the input type.
Source§impl From<VolumetricNumberRate> for VolumetricNumberRate
impl From<VolumetricNumberRate> for VolumetricNumberRate
Source§fn from(value: VolumetricNumberRate) -> Self
fn from(value: VolumetricNumberRate) -> Self
Converts to this type from the input type.
Source§impl Mul<f64> for VolumetricNumberRate
impl Mul<f64> for VolumetricNumberRate
Source§impl MulAssign<f64> for VolumetricNumberRate
impl MulAssign<f64> for VolumetricNumberRate
Source§fn mul_assign(&mut self, rhs: f64)
fn mul_assign(&mut self, rhs: f64)
Performs the
*= operation. Read moreSource§impl Neg for VolumetricNumberRate
impl Neg for VolumetricNumberRate
Source§impl PartialEq for VolumetricNumberRate
impl PartialEq for VolumetricNumberRate
Source§impl PartialOrd for VolumetricNumberRate
impl PartialOrd for VolumetricNumberRate
Source§impl Serialize for VolumetricNumberRate
impl Serialize for VolumetricNumberRate
impl StructuralPartialEq for VolumetricNumberRate
Source§impl Sub for VolumetricNumberRate
impl Sub for VolumetricNumberRate
Source§impl SubAssign for VolumetricNumberRate
impl SubAssign for VolumetricNumberRate
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-= operation. Read moreAuto Trait Implementations§
impl Freeze for VolumetricNumberRate
impl RefUnwindSafe for VolumetricNumberRate
impl Send for VolumetricNumberRate
impl Sync for VolumetricNumberRate
impl Unpin for VolumetricNumberRate
impl UnsafeUnpin for VolumetricNumberRate
impl UnwindSafe for VolumetricNumberRate
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