pub struct Index<'a, G>{
pub compact: bool,
pub entries: &'a [Page<'a, G>],
pub paginate: Option<Paginate<'a>>,
pub feed: Option<&'a str>,
}Expand description
Page index information
Fields§
§compact: bool§entries: &'a [Page<'a, G>]Pages to be indexed.
paginate: Option<Paginate<'a>>Pagination information (if any).
feed: Option<&'a str>The feed URL, if any.
Trait Implementations§
impl<'a, G> Copy for Index<'a, G>
Auto Trait Implementations§
impl<'a, G> Freeze for Index<'a, G>
impl<'a, G> RefUnwindSafe for Index<'a, G>
impl<'a, G> Send for Index<'a, G>
impl<'a, G> Sync for Index<'a, G>
impl<'a, G> Unpin for Index<'a, G>
impl<'a, G> UnwindSafe for Index<'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