FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    RoutingStateMixins

    trait · ferroui-reactiveui · v0.5.0

    trait RoutingStateMixins
    

    Queries of the navigation stack of a RoutingState (RoutingStateMixins).

    View source

    Members

    find_view_model_in_stack

    fn find_view_model_in_stack<T: IRoutableViewModel>(self: &Self) -> Option<Rc<T>>
    

    The view model of the type T nearest the top of the stack, or None when the stack has none (FindViewModelInStack<T>()).

    Source

    get_current_view_model

    fn get_current_view_model(self: &Self) -> Option<RoutableViewModel>
    

    The view model on top of the stack, or None when it is empty (GetCurrentViewModel()).

    Source

    Trait implementations

    Availability

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