[][src]Trait xmlparser::XmlByteExt

pub trait XmlByteExt {
    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; }

Extension methods for XML-subset only operations.

Required methods

fn is_xml_digit(&self) -> bool

Checks if a byte is a digit.

[0-9]

fn is_xml_hex_digit(&self) -> bool

Checks if a byte is a hex digit.

[0-9A-Fa-f]

fn is_xml_space(&self) -> bool

Checks if a byte is a space.

[ \r\n\t]

fn is_xml_letter(&self) -> bool

Checks if a byte is an ASCII char.

[A-Za-z]

fn is_xml_name(&self) -> bool

Checks if a byte is within the ASCII Char range.

Loading content...

Implementations on Foreign Types

impl XmlByteExt for u8[src]

Loading content...

Implementors

Loading content...