NavigatedFromEventArgs
struct · ferroui-controls · v0.5.0
struct NavigatedFromEventArgs
Provides data for the NavigatedFrom event of a page.
Members
new
fn new(destination_page: Option<Ref<Page>>, navigation_type: NavigationType) -> Self
Creates the args for the page that became active and the type of the navigation.
with_parameter
fn with_parameter(destination_page: Option<Ref<Page>>, navigation_type: NavigationType, parameter: Option<BoxedValue>) -> Self
Creates the args with the parameter that was passed to the navigation.
destination_page
fn destination_page(self: &Self) -> Option<Ref<Page>>
The page that became active after the navigation.
navigation_type
fn navigation_type(self: &Self) -> NavigationType
The type of navigation that triggered the event.
parameter
fn parameter(self: &Self) -> Option<BoxedValue>
The parameter passed to the navigation.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherCloneStructuralPartialEqPartialEq
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.