force_quote

Function force_quote 

Source
pub fn force_quote(s: &str, mode: QuoteMode) -> String
Expand description

Escape the given string, forcing quoting.

ยงArguments

  • s - The string to escape.
  • mode - The quoting mode to use.