Enum nom_xml::prolog::external_id::ExternalID
source · pub enum ExternalID<'a> {
System(Cow<'a, str>),
Public {
pubid: Cow<'a, str>,
system_identifier: Box<ExternalID<'a>>,
},
}Variants§
Trait Implementations§
source§impl<'a> Clone for ExternalID<'a>
impl<'a> Clone for ExternalID<'a>
source§fn clone(&self) -> ExternalID<'a>
fn clone(&self) -> ExternalID<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl<'a> Debug for ExternalID<'a>
impl<'a> Debug for ExternalID<'a>
source§impl<'a> Parse<'a> for ExternalID<'a>
impl<'a> Parse<'a> for ExternalID<'a>
fn parse(input: &'a str) -> IResult<&'a str, ExternalID<'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> PartialEq<ExternalID<'a>> for ExternalID<'a>
impl<'a> PartialEq<ExternalID<'a>> for ExternalID<'a>
source§fn eq(&self, other: &ExternalID<'a>) -> bool
fn eq(&self, other: &ExternalID<'a>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<'a> StructuralPartialEq for ExternalID<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ExternalID<'a>
impl<'a> Send for ExternalID<'a>
impl<'a> Sync for ExternalID<'a>
impl<'a> Unpin for ExternalID<'a>
impl<'a> UnwindSafe for ExternalID<'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