Enum assembly_xml::common::exact::XmlEventKind
source · pub enum XmlEventKind {
Start,
End,
Empty,
Text,
Comment,
CData,
Decl,
PI,
DocType,
Eof,
}
Expand description
The kind of an XML event
Variants§
Start
Start Tag <tag>
End
End Tag </tag>
Empty
Empty tag <tag/>
Text
Plain Text
Comment
Comment <!-- ... -->
CData
Literal Character data
Decl
XML Declaration <?xml ... ?>
PI
Processing instruction <?xyz ... ?>
DocType
Document type declaration <!DOCTYPE xyz>
Eof
End of file
Trait Implementations§
source§impl Clone for XmlEventKind
impl Clone for XmlEventKind
source§fn clone(&self) -> XmlEventKind
fn clone(&self) -> XmlEventKind
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 Debug for XmlEventKind
impl Debug for XmlEventKind
source§impl From<&Event<'_>> for XmlEventKind
impl From<&Event<'_>> for XmlEventKind
source§impl PartialEq for XmlEventKind
impl PartialEq for XmlEventKind
impl Copy for XmlEventKind
impl Eq for XmlEventKind
impl StructuralPartialEq for XmlEventKind
Auto Trait Implementations§
impl Freeze for XmlEventKind
impl RefUnwindSafe for XmlEventKind
impl Send for XmlEventKind
impl Sync for XmlEventKind
impl Unpin for XmlEventKind
impl UnwindSafe for XmlEventKind
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)