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