FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    FormatHelper

    struct · ferroui-protranslate-studio · v0.5.0

    struct FormatHelper
    

    View source

    Members

    placeholder

    placeholder: String
    

    Source

    kind

    kind: BuilderFormatType
    

    Source

    decimal_places

    decimal_places: u8
    

    Source

    percentage

    percentage: bool
    

    Source

    date_pattern

    date_pattern: String
    

    Source

    branches

    branches: std::collections::BTreeMap<String, String>
    

    Plural category or select key to text. An absent other branch uses "Value".

    Source

    build

    fn build(self: &Self, format: TranslationFileFormat) -> Result<String, StudioError>
    

    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
    • Clone
    • Debug
    • Default

    Availability

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