NavigationEventArgs
struct · ferroui-controls · v0.5.0
struct NavigationEventArgs
Provides data for navigation events such as Pushed, Popped and
PoppedToRoot.
Members
new
fn new(page: Ref<Page>, navigation_type: NavigationType) -> Self
Creates the args for the page involved in the navigation and the type of the navigation.
with_parameter
fn with_parameter(page: Ref<Page>, navigation_type: NavigationType, parameter: Option<BoxedValue>) -> Self
Creates the args with the parameter that was passed to the navigation.
page
fn page(self: &Self) -> Ref<Page>
The page involved in the navigation.
navigation_type
fn navigation_type(self: &Self) -> NavigationType
The type of navigation.
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.