Function std::ascii::escape_defaultUnstable [-]  [+] [src]

pub fn escape_default<F>(c: u8, f: F) where F: FnMut(u8)

Returns a 'default' ASCII and C++11-like literal escape of a u8

The default is chosen with a bias toward producing literals that are legal in a variety of languages, including C++11 and similar C-family languages. The exact rules are: