pub struct Page<'a, G>{
pub base: BasePage<'a, G>,
pub index: Option<Index<'a, G>>,
pub references: &'a [BasePage<'a, G>],
}Expand description
Represents an indevidual page to be rendered.
Fields§
§base: BasePage<'a, G>The base page containing all the content, etc.
index: Option<Index<'a, G>>The index that should be rendered in association with this page, if any.
references: &'a [BasePage<'a, G>]The other pages referenced in this page’s “cc” field (usually tags, categories, projects, etc.).
Trait Implementations§
impl<'a, G> Copy for Page<'a, G>
Auto Trait Implementations§
impl<'a, G> Freeze for Page<'a, G>
impl<'a, G> RefUnwindSafe for Page<'a, G>
impl<'a, G> Send for Page<'a, G>
impl<'a, G> Sync for Page<'a, G>
impl<'a, G> Unpin for Page<'a, G>
impl<'a, G> UnwindSafe for Page<'a, G>
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