Enum xmlparser::ExternalId
source · pub enum ExternalId<'a> {
System(StrSpan<'a>),
Public(StrSpan<'a>, StrSpan<'a>),
}
Expand description
Representation of the ExternalID value.
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> Hash for ExternalId<'a>
impl<'a> Hash for ExternalId<'a>
source§impl<'a> PartialEq for ExternalId<'a>
impl<'a> PartialEq 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> Copy for ExternalId<'a>
impl<'a> Eq for ExternalId<'a>
impl<'a> StructuralPartialEq for ExternalId<'a>
Auto Trait Implementations§
impl<'a> Freeze for ExternalId<'a>
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