ResourcePreparation
struct · ferroui-hot-reload · v0.5.0
struct ResourcePreparation
Lazily prepares one resource contribution, shared by all candidate consumers. Register all contributions before resolving any so dependencies are independent of target registration order. Cycles and ambiguous ownership fail preparation.
Members
new
fn new(original: Rc<dyn IResourceNode>, create: impl Fn() -> Result<(std::rc::Rc<dyn IResourceNode>, Box<dyn PreparedReload>), ReloadError> + 'static) -> Self
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedClassDefaultsErasedDestructorIntoEitherClone
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.