pub(crate) trait ByteExt {
// Required methods
fn is_sign(&self) -> bool;
fn is_digit(&self) -> bool;
fn is_hex_digit(&self) -> bool;
fn is_space(&self) -> bool;
fn is_ascii_ident(&self) -> bool;
}
Expand description
Extension methods for XML-subset only operations.
Required Methods§
Sourcefn is_hex_digit(&self) -> bool
fn is_hex_digit(&self) -> bool
Checks if a byte is a hex digit.
[0-9A-Fa-f]
Sourcefn is_ascii_ident(&self) -> bool
fn is_ascii_ident(&self) -> bool
Checks if a byte is an ASCII ident char.