pub enum UnitRefView<'m> {
Show 14 variants
AreaUnit(&'m AreaUnit),
ContextDependentUnit(&'m ContextDependentUnit),
ConversionBasedUnit(&'m ConversionBasedUnit),
DerivedUnit(&'m DerivedUnit),
LengthUnit(&'m LengthUnit),
MassUnit(&'m MassUnit),
NamedUnit(&'m NamedUnit),
PlaneAngleUnit(&'m PlaneAngleUnit),
RatioUnit(&'m RatioUnit),
SiUnit(&'m SiUnit),
SolidAngleUnit(&'m SolidAngleUnit),
TimeUnit(&'m TimeUnit),
VolumeUnit(&'m VolumeUnit),
Complex(&'m ComplexUnit),
}Variants§
AreaUnit(&'m AreaUnit)
ContextDependentUnit(&'m ContextDependentUnit)
ConversionBasedUnit(&'m ConversionBasedUnit)
DerivedUnit(&'m DerivedUnit)
LengthUnit(&'m LengthUnit)
MassUnit(&'m MassUnit)
NamedUnit(&'m NamedUnit)
PlaneAngleUnit(&'m PlaneAngleUnit)
RatioUnit(&'m RatioUnit)
SiUnit(&'m SiUnit)
SolidAngleUnit(&'m SolidAngleUnit)
TimeUnit(&'m TimeUnit)
VolumeUnit(&'m VolumeUnit)
Complex(&'m ComplexUnit)
Trait Implementations§
Source§impl<'m> Clone for UnitRefView<'m>
impl<'m> Clone for UnitRefView<'m>
Source§fn clone(&self) -> UnitRefView<'m>
fn clone(&self) -> UnitRefView<'m>
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 moreimpl<'m> Copy for UnitRefView<'m>
Auto Trait Implementations§
impl<'m> Freeze for UnitRefView<'m>
impl<'m> RefUnwindSafe for UnitRefView<'m>
impl<'m> Send for UnitRefView<'m>
impl<'m> Sync for UnitRefView<'m>
impl<'m> Unpin for UnitRefView<'m>
impl<'m> UnsafeUnpin for UnitRefView<'m>
impl<'m> UnwindSafe for UnitRefView<'m>
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