FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    NavigatedToEventArgs

    struct · ferroui-controls · v0.5.0

    struct NavigatedToEventArgs
    

    Provides data for the NavigatedTo event of a page.

    View source

    Members

    new

    fn new(previous_page: Option<Ref<Page>>, navigation_type: NavigationType) -> Self
    

    Creates the args for the page that was active before and the type of the navigation.

    Source

    with_parameter

    fn with_parameter(previous_page: Option<Ref<Page>>, navigation_type: NavigationType, parameter: Option<BoxedValue>) -> Self
    

    Creates the args with the parameter that was passed to the navigation.

    Source

    previous_page

    fn previous_page(self: &Self) -> Option<Ref<Page>>
    

    The page that was active before the navigation.

    Source

    navigation_type

    fn navigation_type(self: &Self) -> NavigationType
    

    The type of navigation that triggered the event.

    Source

    parameter

    fn parameter(self: &Self) -> Option<BoxedValue>
    

    The parameter passed to the navigation.

    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
    • StructuralPartialEq
    • PartialEq

    Availability

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