pub trait XmlByteExt {
// Required methods
fn is_xml_digit(&self) -> bool;
fn is_xml_hex_digit(&self) -> bool;
fn is_xml_space(&self) -> bool;
fn is_xml_letter(&self) -> bool;
fn is_xml_name(&self) -> bool;
}
Expand description
Extension methods for XML-subset only operations.
Required Methods§
sourcefn is_xml_digit(&self) -> bool
fn is_xml_digit(&self) -> bool
Checks if byte is a digit.
[0-9]
sourcefn is_xml_hex_digit(&self) -> bool
fn is_xml_hex_digit(&self) -> bool
Checks if byte is a hex digit.
[0-9A-Fa-f]
sourcefn is_xml_space(&self) -> bool
fn is_xml_space(&self) -> bool
Checks if byte is a space.
[ \r\n\t]
sourcefn is_xml_letter(&self) -> bool
fn is_xml_letter(&self) -> bool
Checks if byte is an ASCII char.
[A-Za-z]
sourcefn is_xml_name(&self) -> bool
fn is_xml_name(&self) -> bool
Checks if byte is within the ASCII Char range.