Skip to main content

XmlCharExt

Trait XmlCharExt 

Source
trait XmlCharExt {
    // Required methods
    fn is_xml_name_start(&self) -> bool;
    fn is_xml_name(&self) -> bool;
    fn is_xml_char(&self) -> bool;
}
Expand description

Extension methods for XML-subset only operations.

Required Methods§

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 the value is within the NameChar 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 XmlCharExt for char

Implementors§