[][src]Struct telemachus::Template

pub struct Template<'t> { /* fields omitted */ }

Implementations

impl<'t> Template<'t>[src]

pub fn new(input: &'t str) -> Result<Self>[src]

impl<'t> Template<'t>[src]

pub fn render<T: Serialize>(&self, content: T) -> Result<String>[src]

Trait Implementations

impl<'de, 't> Deserialize<'de> for Template<'t>[src]

impl<'t> Serialize for Template<'t>[src]

Auto Trait Implementations

impl<'t> RefUnwindSafe for Template<'t>[src]

impl<'t> Send for Template<'t>[src]

impl<'t> Sync for Template<'t>[src]

impl<'t> Unpin for Template<'t>[src]

impl<'t> UnwindSafe for Template<'t>[src]

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T, U> Into<U> for T where
    U: From<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.