pub struct ConversionBasedUnit {
pub dimensions: DimensionalExponentsRef,
pub name: String,
pub conversion_factor: MeasureWithUnitRef,
}Fields§
§dimensions: DimensionalExponentsRef§name: String§conversion_factor: MeasureWithUnitRefTrait Implementations§
Source§impl Clone for ConversionBasedUnit
impl Clone for ConversionBasedUnit
Source§fn clone(&self) -> ConversionBasedUnit
fn clone(&self) -> ConversionBasedUnit
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 ConversionBasedUnit
impl Debug for ConversionBasedUnit
Source§impl PartialEq for ConversionBasedUnit
impl PartialEq for ConversionBasedUnit
Source§fn eq(&self, other: &ConversionBasedUnit) -> bool
fn eq(&self, other: &ConversionBasedUnit) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConversionBasedUnit
Auto Trait Implementations§
impl Freeze for ConversionBasedUnit
impl RefUnwindSafe for ConversionBasedUnit
impl Send for ConversionBasedUnit
impl Sync for ConversionBasedUnit
impl Unpin for ConversionBasedUnit
impl UnsafeUnpin for ConversionBasedUnit
impl UnwindSafe for ConversionBasedUnit
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