[][src]Struct bracket::template::Template

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

Type that adds rendering capability to a document node.

Implementations

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

pub fn node(&self) -> &'source Node<'_>[src]

The document node for the template.

impl<'reg, 'source> Template<'source>[src]

pub fn compile(
    source: &'source str,
    options: ParserOptions
) -> SyntaxResult<Template<'_>>
[src]

Compile a block.

Trait Implementations

impl<'source> Debug for Template<'source>[src]

impl<'_> Display for Template<'_>[src]

Auto Trait Implementations

impl<'source> RefUnwindSafe for Template<'source>

impl<'source> Send for Template<'source>

impl<'source> Sync for Template<'source>

impl<'source> Unpin for Template<'source>

impl<'source> UnwindSafe for Template<'source>

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> ToString for T where
    T: Display + ?Sized
[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.