pub struct TextPage {
    pub basic: BasicPage,
    pub text: &'static str,
}Expand description
A text page holds a text as content and contains the behavior of a BasicPage
Fields§
§basic: BasicPage§text: &'static strImplementations§
Trait Implementations§
Source§impl PageBaseInterface for TextPage
 
impl PageBaseInterface for TextPage
Source§impl PageInteractionInterface for TextPage
 
impl PageInteractionInterface for TextPage
Source§fn dispatch(&mut self, interaction: Interaction) -> PageNavigation
 
fn dispatch(&mut self, interaction: Interaction) -> PageNavigation
Handle page interaction Read more
Auto Trait Implementations§
impl Freeze for TextPage
impl RefUnwindSafe for TextPage
impl Send for TextPage
impl Sync for TextPage
impl Unpin for TextPage
impl UnwindSafe for TextPage
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more