Skip to main content

format_copy_name_with_limit

Function format_copy_name_with_limit 

Source
pub fn format_copy_name_with_limit(
    template: &CopyNameTemplate,
    copy_number: u32,
    max_len: usize,
) -> String
Expand description

Formats a copy name while keeping the result within max_len UTF-8 bytes.