Skip to main content

is_xml_char

Function is_xml_char 

Source
pub const fn is_xml_char(c: char) -> bool
Expand description

Whether c is in XML 1.0’s Char production.

Rust’s char cannot hold a surrogate, so that range needs no test.