FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ObservedChangedMixins

    trait · ferroui-reactiveui · v0.5.0

    trait ObservedChangedMixins<S, V>: IObservedChange<S, V>
    

    The name and the value of one change (ObservedChangedMixins); implemented for every IObservedChange.

    Upstream reads the value again by reflection when the change carries the default value; a change of the port always carries its value, so get_value and get_value_or_default give it. SetValueToProperty (writing the value through a property chain by reflection) is not ported.

    View source

    Members

    get_property_name

    fn get_property_name(self: &Self) -> String
    

    The path of the property that changed (GetPropertyName()).

    Source

    get_value

    fn get_value(self: &Self) -> V
    where V: Clone
    

    The value of the change (GetValue()).

    Source

    get_value_or_default

    fn get_value_or_default(self: &Self) -> V
    where V: Clone
    

    The value of the change (GetValueOrDefault()).

    Source

    Trait implementations

    Availability

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