pub fn export<T: Write>( out: &mut T, format: Format, root_name: &'static str, result: &ParseResult, ) -> Result<()>
Exports the given doctree with the given format to the given output.