# Builder

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-protranslate-build/struct-builder/

**struct** · [`ferroui-protranslate-build`](/docs/0.5.0/api/ferroui-protranslate-build/) · v0.5.0

```rust
struct Builder
```

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

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/ProTranslate/FerroUI.ProTranslate.Build/compiler.rs#L841)

## Members

- [`new`](#function-new)
- [`catalog`](#function-catalog)
- [`catalog_with_options`](#function-catalog_with_options)
- [`catalog_for_culture`](#function-catalog_for_culture)
- [`source`](#function-source)
- [`notify_properties`](#function-notify_properties)
- [`deny_warnings`](#function-deny_warnings)
- [`generate`](#function-generate)
- [`generate_to`](#function-generate_to)

<a id="function-new"></a>

### new

```rust
fn new() -> Self
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/ProTranslate/FerroUI.ProTranslate.Build/compiler.rs#L849)

<a id="function-catalog"></a>

### catalog

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



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/ProTranslate/FerroUI.ProTranslate.Build/compiler.rs#L853)

<a id="function-catalog_with_options"></a>

### catalog_with_options

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



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/ProTranslate/FerroUI.ProTranslate.Build/compiler.rs#L859)

<a id="function-catalog_for_culture"></a>

### catalog_for_culture

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



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/ProTranslate/FerroUI.ProTranslate.Build/compiler.rs#L868)

<a id="function-source"></a>

### source

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



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/ProTranslate/FerroUI.ProTranslate.Build/compiler.rs#L878)

<a id="function-notify_properties"></a>

### notify_properties

```rust
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](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/ProTranslate/FerroUI.ProTranslate.Build/compiler.rs#L885)

<a id="function-deny_warnings"></a>

### deny_warnings

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



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/ProTranslate/FerroUI.ProTranslate.Build/compiler.rs#L890)

<a id="function-generate"></a>

### generate

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



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/ProTranslate/FerroUI.ProTranslate.Build/compiler.rs#L895)

<a id="function-generate_to"></a>

### generate_to

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



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/ProTranslate/FerroUI.ProTranslate.Build/compiler.rs#L900)

## 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](/docs/0.5.0/api/).
