pub struct BasicPage {
    pub title: &'static str,
    pub lifetime: Option<PageLifetime>,
}Expand description
A basic page has at least a title and an optional lifetime
A basic page can be used to construct other pages, since every pages is supposed to have a title and an optional lifetime.
Fields§
§title: &'static str§lifetime: Option<PageLifetime>Implementations§
Auto Trait Implementations§
impl Freeze for BasicPage
impl RefUnwindSafe for BasicPage
impl Send for BasicPage
impl Sync for BasicPage
impl Unpin for BasicPage
impl UnwindSafe for BasicPage
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