#[repr(i32)]pub enum ReaderType {
Show 18 variants
None = 0,
Element = 1,
Attribute = 2,
Text = 3,
CData = 4,
EntityReference = 5,
Entity = 6,
ProcessingInstruction = 7,
Comment = 8,
Document = 9,
DocumentType = 10,
DocumentFragment = 11,
Notation = 12,
Whitespace = 13,
SignificantWhitespace = 14,
EndElement = 15,
EndEntity = 16,
XmlDeclaration = 17,
}Expand description
libxml2 xmlReaderTypes.
Variants§
None = 0
Element = 1
Attribute = 2
Text = 3
CData = 4
EntityReference = 5
Entity = 6
ProcessingInstruction = 7
Comment = 8
Document = 9
DocumentType = 10
DocumentFragment = 11
Notation = 12
Whitespace = 13
SignificantWhitespace = 14
EndElement = 15
EndEntity = 16
XmlDeclaration = 17
Trait Implementations§
Source§impl Clone for ReaderType
impl Clone for ReaderType
Source§fn clone(&self) -> ReaderType
fn clone(&self) -> ReaderType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ReaderType
Source§impl Debug for ReaderType
impl Debug for ReaderType
impl Eq for ReaderType
Source§impl PartialEq for ReaderType
impl PartialEq for ReaderType
impl StructuralPartialEq for ReaderType
Auto Trait Implementations§
impl Freeze for ReaderType
impl RefUnwindSafe for ReaderType
impl Send for ReaderType
impl Sync for ReaderType
impl Unpin for ReaderType
impl UnsafeUnpin for ReaderType
impl UnwindSafe for ReaderType
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