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