ReloadTarget
trait · ferroui-hot-reload · v0.5.0
trait ReloadTarget
Members
complete_pending_state
fn complete_pending_state(self: &Self)
Complete state restoration from an earlier accepted revision at the UI boundary. Runs against accepted sources, before candidate resource previews or preparation. Custom adapters normally need only the default no-op.
documents
fn documents(self: &Self) -> Vec<String>
Includes transitive document dependencies. A target may refresh this list after each revision.
prepare
fn prepare(self: &Self, sources: Rc<Sources>) -> Result<Box<dyn PreparedReload>, ReloadError>
resource_preparation
fn resource_preparation(self: Rc<Self>, _sources: Rc<Sources>) -> Result<Option<ResourcePreparation>, ReloadError>
Resource owners provide a lazy preview before ordinary view preparation.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.