FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    MeasurementSystemProfile

    struct · ferroui-protranslate-core · v0.5.0

    struct MeasurementSystemProfile
    

    View source

    Members

    system

    system: MeasurementSystem
    

    Source

    length_unit

    length_unit: String
    

    Source

    temperature_unit

    temperature_unit: String
    

    Source

    mass_unit

    mass_unit: String
    

    Source

    volume_unit

    volume_unit: String
    

    Source

    speed_unit

    speed_unit: String
    

    Source

    for_system

    fn for_system(system: MeasurementSystem) -> Self
    

    Source

    unit_for

    fn unit_for(self: &Self, category: MeasurementUnitCategory) -> Result<MeasurementUnit, TranslationError>
    

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • ErasedDestructor
    • IntoEither
    • Debug
    • Clone
    • StructuralPartialEq
    • PartialEq
    • Eq

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.