FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    FerroPropertySubscription

    struct · ferroui-reactiveui-controls · v0.5.0

    struct FerroPropertySubscription
    

    The object and the handler a property observation detaches when it is disposed (FerroPropertySubscription): disposing it removes the property-changed handler from the object; only the first call does anything.

    Deviation (DEVIATIONS.md, ReactiveUI controls): upstream's record of the sender and the handler is disposed by a Scope; here the record is the disposable, and the handler is its token.

    View source

    Members

    new

    fn new(sender: Ref<FerroObject>, token: u64) -> Self
    

    The subscription of the property-changed handler token of sender.

    Source

    sender

    fn sender(self: &Self) -> &Ref<FerroObject>
    

    The observed object (Sender).

    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
    • IDisposable
    • Debug

    Availability

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