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