std::core::string

escape_len

fn usz escape_len(String s)
Calculate the length needed for an escaped string (including quotes).

Parameters