MeasurementSystemProfile
struct · ferroui-protranslate-core · v0.5.0
struct MeasurementSystemProfile
Members
system
system: MeasurementSystem
length_unit
length_unit: String
temperature_unit
temperature_unit: String
mass_unit
mass_unit: String
volume_unit
volume_unit: String
speed_unit
speed_unit: String
for_system
fn for_system(system: MeasurementSystem) -> Self
unit_for
fn unit_for(self: &Self, category: MeasurementUnitCategory) -> Result<MeasurementUnit, TranslationError>
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherDebugCloneStructuralPartialEqPartialEqEq
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.