FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    NavigationFailedEventArgs

    struct · ferroui-controls · v0.5.0

    struct NavigationFailedEventArgs
    

    The arguments of Frame.NavigationFailed (WinUI's NavigationFailedEventArgs). Clones share Handled.

    View source

    Members

    handled

    fn handled(self: &Self) -> bool
    

    Gets whether a handler handled the failure.

    Source

    set_handled

    fn set_handled(self: &Self, value: bool)
    

    Marks the failure handled: Frame::navigate then returns Ok(false) instead of the error.

    Source

    source_page_type

    fn source_page_type(self: &Self) -> PageType
    

    Gets the type of the page the navigation failed to show.

    Source

    exception

    fn exception(self: &Self) -> &NavigationError
    

    Gets the error (WinUI's Exception).

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Clone
    • Debug
    • PartialEq
    • MarkupTyped

    Availability

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