FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ObservedChange

    struct · ferroui-reactiveui · v0.5.0

    struct ObservedChange<S, V>
    

    One property change: the object that raised it, the path of the property and its value (ObservedChange<TSender, TValue>).

    A notification of a property observer (ICreatesObservableForProperty) carries no value (V is ()): the reader reads the current value from the sender.

    View source

    Members

    sender

    sender: S
    

    The object that raised the change (Sender).

    Source

    expression

    expression: String
    

    The path of the property that changed, Address.Street (Expression).

    Source

    value

    value: V
    

    The value of the property (Value).

    Source

    new

    fn new(sender: S, expression: impl Into<String>, value: V) -> Self
    

    A change of expression on sender with value (ObservedChange(TSender, Expression?, TValue)).

    Source

    Trait implementations

    Availability

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