Enum xmlparser::ElementEnd
source · pub enum ElementEnd<'a> {
Open,
Close(StrSpan<'a>, StrSpan<'a>),
Empty,
}
Expand description
ElementEnd
token.
Variants§
Trait Implementations§
source§impl<'a> Clone for ElementEnd<'a>
impl<'a> Clone for ElementEnd<'a>
source§fn clone(&self) -> ElementEnd<'a>
fn clone(&self) -> ElementEnd<'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 ElementEnd<'a>
impl<'a> Debug for ElementEnd<'a>
source§impl<'a> Hash for ElementEnd<'a>
impl<'a> Hash for ElementEnd<'a>
source§impl<'a> PartialEq for ElementEnd<'a>
impl<'a> PartialEq for ElementEnd<'a>
source§fn eq(&self, other: &ElementEnd<'a>) -> bool
fn eq(&self, other: &ElementEnd<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a> Copy for ElementEnd<'a>
impl<'a> Eq for ElementEnd<'a>
impl<'a> StructuralPartialEq for ElementEnd<'a>
Auto Trait Implementations§
impl<'a> Freeze for ElementEnd<'a>
impl<'a> RefUnwindSafe for ElementEnd<'a>
impl<'a> Send for ElementEnd<'a>
impl<'a> Sync for ElementEnd<'a>
impl<'a> Unpin for ElementEnd<'a>
impl<'a> UnwindSafe for ElementEnd<'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