[go: up one dir, main page]

Trait svgtypes::XmlByteExt

source ·
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_ident_char(&self) -> bool;
}
Expand description

Extension methods for XML-subset only operations.

Required Methods

Checks if a byte is a digit.

[0-9]

Checks if a byte is a hex digit.

[0-9A-Fa-f]

Checks if a byte is a space.

[ \r\n\t]

Checks if a byte is an ASCII char.

[A-Za-z]

Checks if a byte is an XML ident char.

[A-Za-z]

Implementations on Foreign Types

Implementors