Skip to main content

string_value

Function string_value 

Source
pub fn string_value(body: &str) -> Vec<u16>
Expand description

A string literal’s value, from its text without the quotes, as UTF-16 code units: it can hold a lone surrogate ("\uD800"), which no Rust string can.