FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    PluginObservationSource

    struct · ferroui-reactiveui · v0.5.0

    struct PluginObservationSource
    

    Chooses between the observation that the caller built for one step of a path and a registered property observer that outranks the mechanism it was built from (PluginObservationSource).

    View source

    Members

    choose

    fn choose<T: Clone + 'static>(source: &PropertyOwner, property_name: &str, before_change: bool, generated_affinity: i32, getter: impl Fn() -> Option<T> + 'static, generated: Rc<dyn IObservable<T>>) -> Rc<dyn IObservable<T>>
    

    The observation of the registered observer when one outranks generated_affinity, without a distinct gate; generated otherwise (Choose<T>).

    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.