Crate skyline_web
source ·Re-exports
pub extern crate ramhorns;
Modules
Utilities dealing with writing the bits of a template or data to the output and
escaping special HTML characters.
This module contains helper traits that are used internally to manage
sequences of types implementing the
Content
trait, allowing us to
statically manage parent section lookups without doing extra work on
runtime.Structs
Aggregator for
Template
s, that allows them to
be loaded from the file system and use partials: {{>partial}}
A section of a
Template
that can be rendered individually, usually delimited by
{{#section}} ... {{/section}}
tags.A preprocessed form of the plain text template, ready to be rendered
with data contained in types implementing the
Content
trait.Enums
Traits
Trait allowing the rendering to quickly access data stored in the type that
implements it. You needn’t worry about implementing it, in virtually all
cases the
#[derive(Content)]
attribute above your types should be sufficient.