Skip to main content

tile_from_text

Function tile_from_text 

Source
pub fn tile_from_text(
    name: &str,
    encoding: &str,
    text: &str,
    options: &TileOptions,
    span: Span,
) -> Result<TileDef, String>
Expand description

A tile from template text a host holds: the body of a tile statement without the statement. text may be multi-line; it is taken exactly, as a heredoc body is.