[][src]Function taplo::formatter::format_with_path_scopes

pub fn format_with_path_scopes<I: IntoIterator<Item = (String, OptionsIncomplete)>>(
    dom: RootNode,
    options: Options,
    scopes: I
) -> String

Formats a DOM root node with given scopes.

All the scope keys must be valid glob patterns, otherwise this function will panic!

This doesn't check errors of the DOM.