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.
Members
newcatalogcatalog_with_optionscatalog_for_culturesourcenotify_propertiesdeny_warningsgenerategenerate_to
new
fn new() -> Self
catalog
fn catalog(self: Self, path: impl Into<PathBuf>) -> Self
catalog_with_options
fn catalog_with_options(self: Self, path: impl Into<PathBuf>, options: CatalogFileOptions) -> Self
catalog_for_culture
fn catalog_for_culture(self: Self, path: impl Into<PathBuf>, culture: impl Into<String>) -> Self
source
fn source(self: Self, path: impl Into<PathBuf>, options: SourceAnalysisOptions) -> Self
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.
deny_warnings
fn deny_warnings(self: Self, enabled: bool) -> Self
generate
fn generate(self: Self) -> Result<Compilation, BuildError>
generate_to
fn generate_to(self: Self, directory: &Path) -> Result<Compilation, BuildError>
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneDebugDefault
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.