[][src]Function genco::lang::c_family_write_quoted

pub fn c_family_write_quoted(out: &mut Formatter, input: &str) -> Result

Escape the given string according to a C-family escape sequence.

See https://en.wikipedia.org/wiki/Escape_sequences_in_C

This is one of the more common escape sequences and is provided here so you can use it if a language you've implemented requires it.