PageStackEntry
struct · ferroui-controls · v0.5.0
struct PageStackEntry
An entry of the journal of a Frame: the type of a page and the parameter of its navigation.
The parameter is kept as it is (by identity), as in WinUI.
Missing (docs/porting/winui-controls.md, section 10.4): NavigationTransitionInfo, FerroUI's
frame has no navigation transitions.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<PageStackEntry>
Returns a strong reference to this object.
new
fn new(source_page_type: PageType, parameter: Option<BoxedValue>) -> Ref<Self>
Creates an entry of the page type source_page_type with the parameter of its navigation.
source_page_type
fn source_page_type(self: &Self) -> PageType
Gets the type of the page of the entry.
parameter
fn parameter(self: &Self) -> Option<BoxedValue>
Gets the parameter of the navigation.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtClassDefaultsErasedDestructorIntoEitherDerefUpcast<T>Upcast<PageStackEntry>StaticTypeObjectTypeSubclassable<T>FerroObjectImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.