pub struct MassMeasureWithUnit {
pub value_component: MeasureValue,
pub unit_component: UnitRef,
}Fields§
§value_component: MeasureValue§unit_component: UnitRefTrait Implementations§
Source§impl Clone for MassMeasureWithUnit
impl Clone for MassMeasureWithUnit
Source§fn clone(&self) -> MassMeasureWithUnit
fn clone(&self) -> MassMeasureWithUnit
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 moreSource§impl Debug for MassMeasureWithUnit
impl Debug for MassMeasureWithUnit
Source§impl PartialEq for MassMeasureWithUnit
impl PartialEq for MassMeasureWithUnit
Source§fn eq(&self, other: &MassMeasureWithUnit) -> bool
fn eq(&self, other: &MassMeasureWithUnit) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MassMeasureWithUnit
Auto Trait Implementations§
impl Freeze for MassMeasureWithUnit
impl RefUnwindSafe for MassMeasureWithUnit
impl Send for MassMeasureWithUnit
impl Sync for MassMeasureWithUnit
impl Unpin for MassMeasureWithUnit
impl UnsafeUnpin for MassMeasureWithUnit
impl UnwindSafe for MassMeasureWithUnit
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