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