Type Definition rusty_express::prelude::ViewEngine
source · Expand description
Function type alias ViewEngine
represents the function signature required for the external
view engine framework to be used in the Rusty_Express. Each engine shall be specific to handle one
type of html-template. The 1st parameter represents the raw template content in string format,
while the 2nd parameter represents the rendering context – the information required to render
the template into customisable webpage.