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
sourcefn is_xml_digit(&self) -> bool
fn is_xml_digit(&self) -> bool
Checks if a byte is a digit.
[0-9]
sourcefn is_xml_hex_digit(&self) -> bool
fn is_xml_hex_digit(&self) -> bool
Checks if a byte is a hex digit.
[0-9A-Fa-f]
sourcefn is_xml_space(&self) -> bool
fn is_xml_space(&self) -> bool
Checks if a byte is a space.
[ \r\n\t]
sourcefn is_xml_letter(&self) -> bool
fn is_xml_letter(&self) -> bool
Checks if a byte is an ASCII char.
[A-Za-z]
sourcefn is_ident_char(&self) -> bool
fn is_ident_char(&self) -> bool
Checks if a byte is an XML ident char.
[A-Za-z]