Function hairy::hairy_eval
source · [−]pub fn hairy_eval<'a, 'b, 'c>(
template_bytecode: BytecodeRef<'b>,
value: ValueRef<'b>,
allocator: &'b mut MemoryScope<'c>,
option_custom: Option<&mut dyn CustomFuncs>,
given_templates: &[RawReader<'b>],
option_escaper: Option<&mut dyn Escaper<'b>>
) -> Result<Vec<&'b [u8]>, HairyError<'b>> where
'c: 'b,
'b: 'a,
Expand description
Evaluate Hairy bytecode to generate output, using a value
encoded as a expry
object.