Enum tidy_sys::TidyNodeType
source · #[repr(u32)]pub enum TidyNodeType {
Show 14 variants
Root = 0,
DocType = 1,
Comment = 2,
ProcIns = 3,
Text = 4,
Start = 5,
End = 6,
StartEnd = 7,
CDATA = 8,
Section = 9,
Asp = 10,
Jste = 11,
Php = 12,
XmlDecl = 13,
}
Expand description
Node types
Variants§
Root = 0
< Root
DocType = 1
< DOCTYPE
Comment = 2
< Comment
ProcIns = 3
< Processing Instruction
Text = 4
< Text
Start = 5
< Start Tag
End = 6
< End Tag
StartEnd = 7
< Start/End (empty) Tag
CDATA = 8
< Unparsed Text
Section = 9
< XML Section
Asp = 10
< ASP Source
Jste = 11
< JSTE Source
Php = 12
< PHP Source
XmlDecl = 13
< XML Declaration
Trait Implementations§
source§impl Clone for TidyNodeType
impl Clone for TidyNodeType
source§fn clone(&self) -> TidyNodeType
fn clone(&self) -> TidyNodeType
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 TidyNodeType
impl Debug for TidyNodeType
source§impl Hash for TidyNodeType
impl Hash for TidyNodeType
source§impl PartialEq for TidyNodeType
impl PartialEq for TidyNodeType
source§fn eq(&self, other: &TidyNodeType) -> bool
fn eq(&self, other: &TidyNodeType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TidyNodeType
impl Eq for TidyNodeType
impl StructuralEq for TidyNodeType
impl StructuralPartialEq for TidyNodeType
Auto Trait Implementations§
impl RefUnwindSafe for TidyNodeType
impl Send for TidyNodeType
impl Sync for TidyNodeType
impl Unpin for TidyNodeType
impl UnwindSafe for TidyNodeType
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