Crate weft_erased

Crate weft_erased 

Source
Expand description

This module provides dynamic polymorphism support for weft templates.

Traits§

ErasedRenderable
This is exactly like the weft::WeftRenderable trait, but for cases where we need a trait object. Eg: for a Vec<Box<dyn ErasedRenderable>>.

Functions§

render_fn
Allows easily creating a renderer from an anonymous function.