FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    CatalogCompiler

    struct · ferroui-protranslate-build · v0.5.0

    struct CatalogCompiler
    

    Framework-independent compiler usable in build scripts, editors and CI tools.

    View source

    Members

    new

    fn new() -> Self
    

    Source

    notify_properties

    fn notify_properties(self: &mut Self, enabled: bool) -> &mut Self
    

    Emit the native INotifyPropertyChanged contract for typed property bindings. The consuming crate must depend on ferroui-system when enabled.

    Source

    add_catalog

    fn add_catalog(self: &mut Self, catalog: CatalogInput) -> &mut Self
    

    Source

    add_key_list

    fn add_key_list(self: &mut Self, name: impl Into<String>, content: impl Into<String>) -> &mut Self
    

    Blank lines and lines beginning with # are ignored, like upstream key lists.

    Source

    add_usage

    fn add_usage(self: &mut Self, usage: KeyUsage) -> &mut Self
    

    Validate a resolved key reference; callers with semantic information can use this instead of the explicitly scoped Rust syntax scanner.

    Source

    add_rust_source

    fn add_rust_source(self: &mut Self, name: &str, source: &str, options: &SourceAnalysisOptions) -> &mut Self
    

    Analyze only the receivers selected in options; unrelated .format calls are never treated as localization calls merely because the name matches.

    Source

    compile

    fn compile(self: &Self) -> Compilation
    

    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.