FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ReloadManifest

    struct · ferroui-hot-reload · v0.5.0

    struct ReloadManifest
    

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

    View source

    Members

    files

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

    Source

    sources

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

    Source

    dependencies

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

    Source

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

    Source

    read

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

    Source

    parse

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

    Source

    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.

    Source

    session

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

    Source

    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.

    Source

    transitive_dependencies

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

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ClassDefaults
    • ErasedDestructor
    • IntoEither

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.