Struct ruststep::ap203::config_control_design::ConversionBasedUnit [−][src]
pub struct ConversionBasedUnit {
pub named_unit: NamedUnit,
pub name: Label,
pub conversion_factor: MeasureWithUnitAny,
}
Fields
named_unit: NamedUnit
name: Label
conversion_factor: MeasureWithUnitAny
Implementations
Constructs a new ConversionBasedUnit
.
Methods from Deref<Target = NamedUnit>
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ConversionBasedUnit
impl Send for ConversionBasedUnit
impl Sync for ConversionBasedUnit
impl Unpin for ConversionBasedUnit
impl UnwindSafe for ConversionBasedUnit
Blanket Implementations
Mutably borrows from an owned value. Read more