FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    TranslationCatalogEntry

    struct · ferroui-protranslate-formats · v0.5.0

    struct TranslationCatalogEntry
    

    A normalized translation. Plurals use key.category and retain the category separately.

    View source

    Members

    key

    key: String
    

    Source

    culture

    culture: Option<String>
    

    Source

    value

    value: String
    

    Source

    source

    source: Option<String>
    

    Source

    comment

    comment: Option<String>
    

    Source

    context

    context: Option<String>
    

    Source

    state

    state: Option<String>
    

    Source

    plural_category

    plural_category: Option<String>
    

    Source

    format

    format: Option<String>
    

    Source

    metadata

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

    Source

    new

    fn new(key: impl Into<String>, culture: Option<&str>, value: impl Into<String>) -> Self
    

    Source

    base_key

    fn base_key(self: &Self) -> &str
    

    The plural group's key without its category suffix.

    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
    • DeserializeOwned
    • Clone
    • Debug
    • Default
    • Eq
    • StructuralPartialEq
    • PartialEq
    • Serialize
    • Deserialize<'de>

    Availability

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