ReloadManifest
struct · ferroui-hot-reload · v0.5.0
struct ReloadManifest
Development manifest emitted by ferroui_build::Build::hot_reload_manifest.
Members
filessourcesdependenciescompile_bindingsreadparseconfigurationsessionwatchertransitive_dependencies
files
files: std::collections::BTreeMap<String, std::path::PathBuf>
sources
sources: std::collections::BTreeMap<String, String>
dependencies
dependencies: std::collections::BTreeMap<String, Vec<String>>
compile_bindings
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).
read
fn read(path: &Path) -> Result<Self, ReloadError>
parse
fn parse(text: &str) -> Result<Self, ReloadError>
configuration
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.
session
fn session(self: &Self) -> Result<HotReloadSession, ReloadError>
watcher
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.
transitive_dependencies
fn transitive_dependencies(self: &Self, uri: &str) -> Vec<String>
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyClassDefaultsErasedDestructorIntoEither
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.