ContentReloadTarget
struct · ferroui-hot-reload · v0.5.0
struct ContentReloadTarget
Reloads a classless document inside a stable host. The host and its data context survive.
Custom x:Class roots need an application adapter that refreshes their cached references.
Members
new
fn new(host: &Ref<ContentControl>, uri: String, dependencies: Vec<String>, configuration: RuntimeXamlLoaderConfiguration) -> Self
with_state_adapter
fn with_state_adapter(self: Self, adapter: Rc<dyn crate::ControlStateAdapter>) -> Self
Add application state transfer for uniquely identified, compatible controls. Restoration runs after a successful revision, alongside built-in state transfer.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyClassDefaultsErasedDestructorIntoEitherReloadTarget
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.