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