ptree::output
pub fn write_tree_with<T: TreeItem, W: Write>( item: &T, f: W, config: &PrintConfig) -> Result<()>
Write the tree item to writer f using custom formatting
item
f