FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    PropertyViewModel

    struct · ferroui-diagnostics · v0.5.0

    struct PropertyViewModel
    

    The state of the abstract class PropertyViewModel: the base of the view models of the properties of an object, and whether the property is pinned.

    View source

    Members

    construct

    fn construct() -> Self
    

    The state of the class, for the classes that derive from it.

    Source

    view_model_base

    fn view_model_base(self: &Self) -> &ViewModelBase
    

    The base class of the view models (RaiseAndSetIfChanged, RaisePropertyChanged).

    Source

    is_pinned

    fn is_pinned(self: &Self) -> bool
    

    Source

    raise_property_changed

    fn raise_property_changed(self: &Self, property_name: &str)
    

    RaisePropertyChanged, for the deriving classes.

    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
    • INotifyPropertyChanged

    Availability

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