Enum unidok_to_html::Node [−][src]
pub enum Node<'a> { Element(Element<'a>), Text(&'a str), Text2(String), Entity(&'static str), Verbatim(String), Cdata(&'a str), Comment(String), Doctype(&'a str), Fragment(Vec<Node<'a>>), }
Variants
Element(Element<'a>)
Text(&'a str)
Text2(String)
Entity(&'static str)
Verbatim(String)
Cdata(&'a str)
Comment(String)
Doctype(&'a str)
Implementations
impl Node<'_>
[src]
impl Node<'_>
[src]pub fn is_block_level(&self) -> bool
[src]
pub fn is_whitespace(&self) -> bool
[src]
pub fn is_element(&self) -> bool
[src]
pub fn is_element(&self) -> bool
[src]Returns true
if the node is Element
.