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