# DocumentGroup

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

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

```rust
struct DocumentGroup
```

The document of a class with the documents it includes
(`FerroRuntimeXamlLoader::document_group`).

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Markup/FerroUI.Markup.Xaml.Loader/ferro_runtime_xaml_loader.rs#L301)

## Members

- [`uri`](#struct_field-uri)
- [`text`](#struct_field-text)
- [`included`](#struct_field-included)
- [`assembly`](#struct_field-assembly)

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

### uri

```rust
uri: url::Url
```

The URL and the text of the document.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Markup/FerroUI.Markup.Xaml.Loader/ferro_runtime_xaml_loader.rs#L303)

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

### text

```rust
text: String
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Markup/FerroUI.Markup.Xaml.Loader/ferro_runtime_xaml_loader.rs#L304)

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

### included

```rust
included: Vec<(url::Url, String)>
```

The documents it includes, directly or not, in the order they are
found, each with its URL and its text.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Markup/FerroUI.Markup.Xaml.Loader/ferro_runtime_xaml_loader.rs#L307)

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

### assembly

```rust
assembly: Option<&'static ferroui_base::metadata::MarkupAssembly>
```

The assembly of the document, if it is registered.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Markup/FerroUI.Markup.Xaml.Loader/ferro_runtime_xaml_loader.rs#L309)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`

## Availability

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