Trait archetect_core::rendering::Renderable[][src]

pub trait Renderable {
    type Result;
    fn render(
        &self,
        archetect: &Archetect,
        context: &Context
    ) -> Result<Self::Result, RenderError>; }

Associated Types

Loading content...

Required methods

fn render(
    &self,
    archetect: &Archetect,
    context: &Context
) -> Result<Self::Result, RenderError>
[src]

Loading content...

Implementations on Foreign Types

impl Renderable for &str[src]

type Result = String

fn render(
    &self,
    archetect: &Archetect,
    context: &Context
) -> Result<Self::Result, RenderError>
[src]

impl Renderable for &String[src]

type Result = String

fn render(
    &self,
    archetect: &Archetect,
    context: &Context
) -> Result<Self::Result, RenderError>
[src]

impl Renderable for &Path[src]

type Result = PathBuf

fn render(
    &self,
    archetect: &Archetect,
    context: &Context
) -> Result<Self::Result, RenderError>
[src]

Loading content...

Implementors

Loading content...