#[repr(transparent)]pub struct Torque {
pub value: f64,
}Fields§
§value: f64Implementations§
Trait Implementations§
Source§impl AddAssign for Torque
impl AddAssign for Torque
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 Torque
impl<'de, Context> BorrowDecode<'de, Context> for Torque
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.
impl Copy for Torque
Source§impl DebugScalarType for Torque
impl DebugScalarType for Torque
Source§impl<'de> Deserialize<'de> for Torque
impl<'de> Deserialize<'de> for Torque
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 DivAssign<f64> for Torque
impl DivAssign<f64> for Torque
Source§fn div_assign(&mut self, rhs: f64)
fn div_assign(&mut self, rhs: f64)
Performs the
/= operation. Read moreSource§impl From<Quantity<dyn Dimension<Kind = dyn AngleKind, J = Z0, L = PInt<UInt<UInt<UTerm, B1>, B0>>, N = Z0, T = NInt<UInt<UInt<UTerm, B1>, B0>>, M = PInt<UInt<UTerm, B1>>, I = Z0, Th = Z0>, dyn Units<f64, amount_of_substance = mole, length = meter, electric_current = ampere, thermodynamic_temperature = kelvin, luminous_intensity = candela, time = second, mass = kilogram>, f64>> for Torque
impl From<Quantity<dyn Dimension<Kind = dyn AngleKind, J = Z0, L = PInt<UInt<UInt<UTerm, B1>, B0>>, N = Z0, T = NInt<UInt<UInt<UTerm, B1>, B0>>, M = PInt<UInt<UTerm, B1>>, I = Z0, Th = Z0>, dyn Units<f64, amount_of_substance = mole, length = meter, electric_current = ampere, thermodynamic_temperature = kelvin, luminous_intensity = candela, time = second, mass = kilogram>, f64>> for Torque
Source§impl MulAssign<f64> for Torque
impl MulAssign<f64> for Torque
Source§fn mul_assign(&mut self, rhs: f64)
fn mul_assign(&mut self, rhs: f64)
Performs the
*= operation. Read moreSource§impl PartialOrd for Torque
impl PartialOrd for Torque
impl StructuralPartialEq for Torque
Auto Trait Implementations§
impl Freeze for Torque
impl RefUnwindSafe for Torque
impl Send for Torque
impl Sync for Torque
impl Unpin for Torque
impl UnsafeUnpin for Torque
impl UnwindSafe for Torque
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