pub(crate) const fn estimate_item_path_byte_length(
    segment_count: usize
) -> usize
Expand description

Estimate the number of bytes in an item’s path, based on how many segments it has.

Note: This is only to be used with, e.g., String::with_capacity(); the return value is just a rough estimate.