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