[][src]Struct gazetta_core::view::Context

pub struct Context<'a, G> where
    G: Gazetta
{ pub page: &'a Page<'a, G>, pub site: &'a Site<'a, G>, }

Fields

page: &'a Page<'a, G>site: &'a Site<'a, G>

Trait Implementations

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

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

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

Auto Trait Implementations

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

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

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

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

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

Blanket Implementations

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.