FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    Builder

    struct · ferroui-protranslate-build · v0.5.0

    struct Builder
    

    Cargo build-script entry point. Files are explicit and tracked with rerun-if-changed. Only changed output bytes are written.

    View source

    Members

    new

    fn new() -> Self
    

    Source

    catalog

    fn catalog(self: Self, path: impl Into<PathBuf>) -> Self
    

    Source

    catalog_with_options

    fn catalog_with_options(self: Self, path: impl Into<PathBuf>, options: CatalogFileOptions) -> Self
    

    Source

    catalog_for_culture

    fn catalog_for_culture(self: Self, path: impl Into<PathBuf>, culture: impl Into<String>) -> Self
    

    Source

    source

    fn source(self: Self, path: impl Into<PathBuf>, options: SourceAnalysisOptions) -> Self
    

    Source

    notify_properties

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

    Generate native property notifications. Add ferroui-system to the consuming crate; the default generated provider requires only the core.

    Source

    deny_warnings

    fn deny_warnings(self: Self, enabled: bool) -> Self
    

    Source

    generate

    fn generate(self: Self) -> Result<Compilation, BuildError>
    

    Source

    generate_to

    fn generate_to(self: Self, directory: &Path) -> Result<Compilation, BuildError>
    

    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.