FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ViewLocator

    struct · ferroui-reactiveui · v0.5.0

    struct ViewLocator
    

    The current IViewLocator (ViewLocator).

    View source

    Members

    current

    fn current() -> Rc<dyn IViewLocator>
    

    The dyn IViewLocator registered in the service locator (GetCurrent). It panics with a ViewLocatorNotFoundError when none is registered.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any

    Availability

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