FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ITypedReactiveViewClass

    trait · ferroui-reactiveui-controls · v0.5.0

    trait ITypedReactiveViewClass: IReactiveViewClass
    

    A reactive view class that a typed handle can restrict to one type of view model.

    View source

    Members

    create

    fn create() -> Ref<Self>
    

    A new instance of the class (new ReactiveUserControl<TViewModel>()).

    Source

    set_view_model_filter

    fn set_view_model_filter(self: &Self, filter: Option<ViewModelFilter>)
    

    Restricts the view models of the instance to those filter accepts; None accepts any.

    Source

    Trait implementations

    Availability

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