# Compilation

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

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

```rust
struct Compilation
```

The generated Rust and manifest can be inspected without writing any files.

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

## Members

- [`rust_source`](#struct_field-rust_source)
- [`manifest_json`](#struct_field-manifest_json)
- [`diagnostics`](#struct_field-diagnostics)
- [`has_errors`](#function-has_errors)

<a id="struct_field-rust_source"></a>

### rust_source

```rust
rust_source: String
```



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

<a id="struct_field-manifest_json"></a>

### manifest_json

```rust
manifest_json: String
```



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

<a id="struct_field-diagnostics"></a>

### diagnostics

```rust
diagnostics: Vec<BuildDiagnostic>
```



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

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

### has_errors

```rust
fn has_errors(self: &Self) -> bool
```



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

## 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`

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
