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