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