#[repr(transparent)]pub struct Volume {
pub value: f32,
}Fields§
§value: f32Implementations§
Trait Implementations§
Source§impl AddAssign for Volume
impl AddAssign for Volume
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 Volume
impl<'de, Context> BorrowDecode<'de, Context> for Volume
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 Volume
Source§impl DebugScalarType for Volume
impl DebugScalarType for Volume
Source§impl<'de> Deserialize<'de> for Volume
impl<'de> Deserialize<'de> for Volume
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 Volume
impl DivAssign<f32> for Volume
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<UInt<UTerm, B1>, B1>>, N = Z0, I = Z0, T = Z0, 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 Volume
impl From<Quantity<dyn Dimension<J = Z0, L = PInt<UInt<UInt<UTerm, B1>, B1>>, N = Z0, I = Z0, T = Z0, 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 Volume
Source§impl MulAssign<f32> for Volume
impl MulAssign<f32> for Volume
Source§fn mul_assign(&mut self, rhs: f32)
fn mul_assign(&mut self, rhs: f32)
Performs the
*= operation. Read moreSource§impl PartialOrd for Volume
impl PartialOrd for Volume
impl StructuralPartialEq for Volume
Auto Trait Implementations§
impl Freeze for Volume
impl RefUnwindSafe for Volume
impl Send for Volume
impl Sync for Volume
impl Unpin for Volume
impl UnsafeUnpin for Volume
impl UnwindSafe for Volume
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