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
compact: bool
entries: &'a [Page<'a, G>]
Pages to be indexed.
paginate: Option<Paginate<'a>>
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]
G: Gazetta + 'a,
G::PageMeta: 'a,
G::SiteMeta: 'a,
impl<'a, G> Clone for Index<'a, G> where
G: Gazetta + 'a,
G::PageMeta: 'a,
G::SiteMeta: 'a,
[src]
G: Gazetta + 'a,
G::PageMeta: 'a,
G::SiteMeta: 'a,
fn clone(&self) -> Self
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
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]
G: Gazetta + 'a,
G::PageMeta: Debug + 'a,
G::SiteMeta: 'a,