Skip to main content

template

Function template 

Source
pub fn template<'i, Input, Error>(
    input: &mut Input,
) -> Result<Vec<Element>, Error>
where Input: StreamIsPartial + Stream + Compare<&'i str>, <Input as Stream>::Slice: AsBStr, <Input as Stream>::Token: AsChar + Clone, Error: ParserError<Input>,
Expand description

Parse a complete template into a sequence of elements.

This is the top-level parser entry point for template content.