xmlparser

Trait XmlByteExt

Source
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§

Source

fn is_xml_digit(&self) -> bool

Checks if byte is a digit.

[0-9]

Source

fn is_xml_hex_digit(&self) -> bool

Checks if byte is a hex digit.

[0-9A-Fa-f]

Source

fn is_xml_space(&self) -> bool

Checks if byte is a space.

[ \r\n\t]

Source

fn is_xml_letter(&self) -> bool

Checks if byte is an ASCII char.

[A-Za-z]

Source

fn is_xml_name(&self) -> bool

Checks if byte is within the ASCII Char range.

Implementations on Foreign Types§

Source§

impl XmlByteExt for u8

Implementors§