Skip to main content

XmlExt

Trait XmlExt 

Source
pub trait XmlExt {
    // Required method
    fn is_xml_whitespace(&self) -> bool;
}
Expand description

Extension trait that adds XML whitespace detection to char.

Required Methods§

Source

fn is_xml_whitespace(&self) -> bool

Returns true for the four XML whitespace characters: space, tab, carriage return, and newline.

Implementations on Foreign Types§

Source§

impl XmlExt for char

Implementors§