Skip to main content

XmlByteExt

Trait XmlByteExt 

Source
trait XmlByteExt {
    // Required methods
    fn is_xml_space(&self) -> bool;
    fn is_xml_name_start(&self) -> bool;
    fn is_xml_name(&self) -> bool;
    fn is_xml_char(&self) -> bool;
}

Required Methods§

Source

fn is_xml_space(&self) -> bool

Checks if byte is a space.

[ \r\n\t]

Source

fn is_xml_name_start(&self) -> bool

Checks if the value is within the NameStartChar range.

Source

fn is_xml_name(&self) -> bool

Checks if byte is within the ASCII Char range.

Source

fn is_xml_char(&self) -> bool

Checks if the value is within the Char range.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl XmlByteExt for u8

Implementors§