Skip to main content

apply_template

Function apply_template 

Source
pub fn apply_template<S: TemplateSink>(
    template: &SetTemplate,
    sink: &mut S,
) -> Result<(), S::Error>
Expand description

Walk template’s properties or quantities in order, calling sink’s begin/property/quantity/finish callbacks. Stops and returns the first callback error; the sink is responsible for any rollback.