Struct gazetta_core::view::Index [] [src]

pub struct Index<'a, G> where
    G: Gazetta + 'a,
    G::SiteMeta: 'a,
    G::PageMeta: 'a, 
{ pub compact: bool, pub entries: &'a [Page<'a, G>], pub paginate: Option<Paginate<'a>>, }

Page index information

Fields

Pages to be indexed.

Pagination information (if any).

Trait Implementations

impl<'a, G> Copy for Index<'a, G> where
    G: Gazetta + 'a,
    G::PageMeta: 'a,
    G::SiteMeta: 'a, 
[src]

impl<'a, G> Clone for Index<'a, G> where
    G: Gazetta + 'a,
    G::PageMeta: 'a,
    G::SiteMeta: 'a, 
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a, G> Debug for Index<'a, G> where
    G: Gazetta + 'a,
    G::PageMeta: Debug + 'a,
    G::SiteMeta: 'a, 
[src]

Formats the value using the given formatter.