FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    IReactiveObjectExtensions

    struct · ferroui-reactiveui · v0.5.0

    struct IReactiveObjectExtensions
    

    The observables of a reactive object that upstream's extension methods create at each call (GetChangingObservable, GetChangedObservable, GetThrownExceptionsObservable). The observables that IReactiveNotifyPropertyChanged gives are created once per object from these.

    View source

    Members

    get_changing_observable

    fn get_changing_observable<T: IReactiveObject>(source: &Rc<T>) -> Rc<dyn IObservable<ReactivePropertyChangedEventArgs<Rc<T>>>>
    

    An observable of the properties of source that are about to change, with source as the sender (GetChangingObservable).

    Source

    get_changed_observable

    fn get_changed_observable<T: IReactiveObject>(source: &Rc<T>) -> Rc<dyn IObservable<ReactivePropertyChangedEventArgs<Rc<T>>>>
    

    An observable of the properties of source that changed, with source as the sender (GetChangedObservable).

    Source

    get_thrown_exceptions_observable

    fn get_thrown_exceptions_observable<T: IReactiveObject + ?Sized>(source: &T) -> Rc<dyn IObservable<ObservableError>>
    

    The errors of the subscribers of the change observables of source (GetThrownExceptionsObservable).

    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.