FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    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.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<PageStackEntry>
    

    Returns a strong reference to this object.

    Source

    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

    source_page_type

    fn source_page_type(self: &Self) -> PageType
    

    Gets the type of the page of the entry.

    Source

    parameter

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

    Gets the parameter of the navigation.

    Source

    Trait implementations

    Availability

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