# ReloadManifest

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-hot-reload/struct-reloadmanifest/

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

```rust
struct ReloadManifest
```

Development manifest emitted by `ferroui_build::Build::hot_reload_manifest`.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.HotReload/manifest.rs#L7)

## Members

- [`files`](#struct_field-files)
- [`sources`](#struct_field-sources)
- [`dependencies`](#struct_field-dependencies)
- [`compile_bindings`](#struct_field-compile_bindings)
- [`read`](#function-read)
- [`parse`](#function-parse)
- [`configuration`](#function-configuration)
- [`session`](#function-session)
- [`watcher`](#function-watcher)
- [`transitive_dependencies`](#function-transitive_dependencies)

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

### files

```rust
files: std::collections::BTreeMap<String, std::path::PathBuf>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.HotReload/manifest.rs#L8)

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

### sources

```rust
sources: std::collections::BTreeMap<String, String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.HotReload/manifest.rs#L9)

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

### dependencies

```rust
dependencies: std::collections::BTreeMap<String, Vec<String>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.HotReload/manifest.rs#L10)

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

### compile_bindings

```rust
compile_bindings: bool
```

Whether the build compiled `{Binding}` as a compiled binding by default (#603): the
default of the build, unless the crate opts out with `[package.metadata.ferroui]
compile-bindings = false` (or `Build::default_compile_bindings(false)`). `true` for a
manifest that does not state it. `configuration` reloads the
documents the same way (#604).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.HotReload/manifest.rs#L16)

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

### read

```rust
fn read(path: &Path) -> Result<Self, ReloadError>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.HotReload/manifest.rs#L148)

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

### parse

```rust
fn parse(text: &str) -> Result<Self, ReloadError>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.HotReload/manifest.rs#L153)

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

### configuration

```rust
fn configuration(self: &Self, assembly: Option<&'static ferroui_base::metadata::MarkupAssembly>) -> ferroui_markup_xaml::RuntimeXamlLoaderConfiguration
```

The configuration of the run-time loader for the documents of the manifest: `{Binding}`
compiles as the build compiled it (`compile_bindings`), so a
reloaded document binds the way the built application does (#604). `assembly` is the
assembly of the documents, the local assembly of the loader.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.HotReload/manifest.rs#L227)

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

### session

```rust
fn session(self: &Self) -> Result<HotReloadSession, ReloadError>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.HotReload/manifest.rs#L236)

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

### watcher

```rust
fn watcher(self: &Self, interval: std::time::Duration) -> crate::FileWatcher
```

Watch manifest document directories recursively from the build's source
baseline. Newly discovered documents are reported for conservative admission.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.HotReload/manifest.rs#L246)

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

### transitive_dependencies

```rust
fn transitive_dependencies(self: &Self, uri: &str) -> Vec<String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.HotReload/manifest.rs#L263)

## 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/).
