FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    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.

    View source

    Members

    new

    fn new(original: Rc<dyn IResourceNode>, create: impl Fn() -> Result<(std::rc::Rc<dyn IResourceNode>, Box<dyn PreparedReload>), ReloadError> + 'static) -> Self
    

    Source

    Trait implementations

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

    Availability

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