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§