FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ViewThreadInvokers

    struct · ferroui-reactiveui · v0.5.0

    struct ViewThreadInvokers
    

    Finds the registered IViewThreadInvoker for the object a binding writes to (ViewThreadInvokers).

    The invokers are registered in AppLocator as dyn IViewThreadInvoker, read on first use and kept until refresh.

    View source

    Members

    refresh

    fn refresh()
    

    Reads the registered invokers again on the next use, for a host that registers one after its first binding (Refresh).

    Source

    for_target

    fn for_target(target: Option<&Rc<dyn Any>>) -> Option<Rc<dyn IViewThreadInvoker>>
    

    The first registered invoker that claims target, or None when target is None or nothing claims it (ForTarget).

    Source

    Trait implementations

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

    Availability

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