FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    FerroViewThreadInvoker

    struct · ferroui-reactiveui-controls · v0.5.0

    struct FerroViewThreadInvoker
    

    Routes the writes of the bindings to a FerroUI object onto the FerroScheduler of the dispatcher that owns it (FerroViewThreadInvoker).

    Deviation (DEVIATIONS.md, ReactiveUI controls): upstream derives from SequencerViewThreadInvoker<FerroObject, FerroScheduler>, which claims the targets of the type FerroObject; a FerroUI object comes in several untyped forms (FerroObjectHandles::object_of), so the invoker implements the trait itself, with the same members: the scheduler of a target is FerroScheduler::for_dispatcher of its dispatcher. The shared instance is per thread, as the objects are.

    View source

    Members

    instance

    fn instance() -> Rc<FerroViewThreadInvoker>
    

    The shared instance, which the bindings route their writes to FerroUI objects through (Instance).

    Source

    sequencer_for

    fn sequencer_for(target: &FerroObject) -> Rc<FerroScheduler>
    

    The scheduler of the dispatcher that owns target (SequencerFor).

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Debug
    • Default
    • IViewThreadInvoker

    Availability

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