Enum nom_xml::prolog::declaration_content::Mixed
source · pub enum Mixed<'a> {
PCDATA {
names: Option<Vec<QualifiedName<'a>>>,
parsed: bool,
zero_or_more: bool,
},
}Variants§
Implementations§
Trait Implementations§
source§impl<'a> Parse<'a> for Mixed<'a>
impl<'a> Parse<'a> for Mixed<'a>
fn parse(input: &'a str) -> IResult<&'a str, Mixed<'a>>
fn is_char(c: char) -> bool
fn parse_char(input: &'a str) -> IResult<&'a str, char>
fn is_whitespace(c: char) -> bool
fn parse_multispace1(input: &'a str) -> IResult<&'a str, ()>
fn parse_multispace0(input: &'a str) -> IResult<&'a str, ()>
fn is_name_start_char(c: char) -> bool
fn is_name_char(c: char) -> bool
fn parse_name_char(input: &'a str) -> IResult<&'a str, char>
fn parse_name_start_char(input: &'a str) -> IResult<&'a str, char>
fn parse_nmtoken(input: &'a str) -> IResult<&'a str, Cow<'a, str>>
fn parse_nmtokens(input: &'a str) -> IResult<&'a str, Vec<Cow<'a, str>>>
fn parse_name(input: &'a str) -> IResult<&'a str, Cow<'a, str>>
fn parse_names(input: &'a str) -> IResult<&'a str, Vec<Cow<'a, str>>>
fn parse_eq(input: &'a str) -> IResult<&'a str, ()>
source§impl<'a> ParseNamespace<'a> for Mixed<'a>
impl<'a> ParseNamespace<'a> for Mixed<'a>
fn parse_namespace_attribute_name( input: &'a str ) -> IResult<&'a str, Cow<'a, str>>
fn parse_prefixed_attribute_name( input: &'a str ) -> IResult<&'a str, Cow<'a, str>>
fn parse_non_colonized_name(input: &'a str) -> IResult<&'a str, Cow<'a, str>>
fn parse_non_colonized_name_char(input: &'a str) -> IResult<&'a str, char>
fn parse_non_colonized_name_start_char(input: &'a str) -> IResult<&'a str, char>
fn parse_qualified_name(input: &'a str) -> IResult<&'a str, QualifiedName<'_>>
fn parse_prefixed_name(input: &'a str) -> IResult<&'a str, QualifiedName<'_>>
source§impl<'a> PartialEq<Mixed<'a>> for Mixed<'a>
impl<'a> PartialEq<Mixed<'a>> for Mixed<'a>
impl<'a> StructuralPartialEq for Mixed<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Mixed<'a>
impl<'a> Send for Mixed<'a>
impl<'a> Sync for Mixed<'a>
impl<'a> Unpin for Mixed<'a>
impl<'a> UnwindSafe for Mixed<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more