Struct rubble_templates::template::Template[][src]

pub struct Template {
    pub raw_content: String,
}
Expand description

A simple template that represents a source text.

This template is a raw template that can be reused with different variables or Evaluators. It contains a raw source that can be parsed.

Fields

raw_content: String

Implementations

Trait Implementations

Type of a single template part that can be compiled/evaluated/parsed. Read more

Iterator that can provide template parts that need to be compiled.

Formats the value using the given formatter. Read more

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.