# WinUIXamlMigration

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-markup-xaml-winui/struct-winuixamlmigration/

**struct** · [`ferroui-markup-xaml-winui`](/docs/0.5.0/api/ferroui-markup-xaml-winui/) · v0.5.0

```rust
struct WinUIXamlMigration
```



[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Markup/FerroUI.Markup.Xaml.WinUI/importer/report.rs#L37)

## Members

- [`xaml`](#struct_field-xaml)
- [`edits`](#struct_field-edits)
- [`diagnostics`](#struct_field-diagnostics)
- [`has_errors`](#function-has_errors)
- [`into_xaml`](#function-into_xaml)

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

### xaml

```rust
xaml: String
```

Reviewable candidate. Call `into_xaml` to reject unresolved diagnostics before use.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Markup/FerroUI.Markup.Xaml.WinUI/importer/report.rs#L39)

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

### edits

```rust
edits: Vec<WinUIXamlEdit>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Markup/FerroUI.Markup.Xaml.WinUI/importer/report.rs#L40)

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

### diagnostics

```rust
diagnostics: Vec<WinUIXamlDiagnostic>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Markup/FerroUI.Markup.Xaml.WinUI/importer/report.rs#L41)

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

### has_errors

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



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Markup/FerroUI.Markup.Xaml.WinUI/importer/report.rs#L45)

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

### into_xaml

```rust
fn into_xaml(self: Self) -> Result<String, WinUIXamlMigrationError>
```

Rejects unresolved semantics. Both the optional runtime entry point and build tools
should use this rather than loading the reviewable candidate directly.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Markup/FerroUI.Markup.Xaml.WinUI/importer/report.rs#L53)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- [`PropertyValue`](/docs/0.5.0/api/ferroui-base/trait-propertyvalue/)
- [`AnyValue`](/docs/0.5.0/api/ferroui-base/trait-anyvalue/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- `Clone`
- `Debug`
- `StructuralPartialEq`
- `PartialEq`
- `Eq`

## Availability

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