Function escape_string
Source pub fn escape_string<S>(input: S) -> String
Expand description
Escapes a string using std::ascii::escape_default.
§Arguments
input - A value that can be converted into a String.
§Returns
A new String where each character is escaped according to escape_default.