Function debris_backends::common::string_escape::escape_minecraft
source · pub fn escape_minecraft(string: &str) -> impl Iterator<Item = char> + '_
Expand description
Escapes a string for minecraft: Newlines are replaced with \n and \ are replaced with \