[][src]Struct gazetta::view::Index

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

Page index information

Fields

compact: boolentries: &'a [Page<'a, G>]

Pages to be indexed.

paginate: Option<Paginate<'a>>

Pagination information (if any).

Trait Implementations

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

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

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

Auto Trait Implementations

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

impl<'a, G> Unpin for Index<'a, G>

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

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

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

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]