Trait sxd_document::XmlChar
source · pub trait XmlChar {
fn is_name_start_char(self) -> bool;
fn is_name_char(self) -> bool;
fn is_ncname_start_char(self) -> bool;
fn is_ncname_char(self) -> bool;
fn is_space_char(self) -> bool;
fn is_decimal_char(self) -> bool;
fn is_hex_char(self) -> bool;
fn is_encoding_start_char(self) -> bool;
fn is_encoding_rest_char(self) -> bool;
}
Expand description
Predicates used when parsing an characters in an XML document.
Required Methods§
sourcefn is_name_start_char(self) -> bool
fn is_name_start_char(self) -> bool
Is this a NameStartChar?
sourcefn is_name_char(self) -> bool
fn is_name_char(self) -> bool
Is this a NameChar?
sourcefn is_ncname_start_char(self) -> bool
fn is_ncname_start_char(self) -> bool
Does this start a NCName?
sourcefn is_ncname_char(self) -> bool
fn is_ncname_char(self) -> bool
Is this a component of a NCName?
sourcefn is_space_char(self) -> bool
fn is_space_char(self) -> bool
Is this an XML space?