Trait lib_ruby_parser_nodes::template::PublicTemplate [−][src]
pub trait PublicTemplate {
type Context;
type InnerTemplate: Render<Self::Context> + Parse;
fn inner(&self) -> &Self::InnerTemplate;
fn build(inner: Self::InnerTemplate) -> Self
where
Self: Sized;
fn new<T>(s: T) -> Option<Self>
where
T: Into<String>,
Self: Sized,
{ ... }
fn render(&self, ctx: &Self::Context, fns: &TemplateFns) -> String { ... }
}