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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

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]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a, G> Send for Index<'a, G> where
    <G as Gazetta>::PageMeta: Sync

impl<'a, G> Sync for Index<'a, G> where
    <G as Gazetta>::PageMeta: Sync