[][src]Function wood::indented_woodslist_detail

pub fn indented_woodslist_detail(
    w: &Wood,
    indent_is_tab: bool,
    tab_size: usize,
    column_limit: usize
) -> String

formats a Wood into readable indented woodslist notation

Arguments

  • column_limit - doesn't really limit the length of the output to be within column_limit, as that would be harder to do, as you'd occasionally get situations where the Wood is too deeply nested and it needs to change mode and go beyond the limit. May change, one day. Currently, it multilines Woods that would be longer than column_limit if serialized inline.