pub enum DocumentChildren<'tree> {
Doctype(Box<Doctype<'tree>>),
Element(Box<Element<'tree>>),
Entity(Box<Entity<'tree>>),
ErroneousEndTag(Box<ErroneousEndTag<'tree>>),
ScriptElement(Box<ScriptElement<'tree>>),
StyleElement(Box<StyleElement<'tree>>),
Text(Box<Text<'tree>>),
}Variants§
Doctype(Box<Doctype<'tree>>)
Element(Box<Element<'tree>>)
Entity(Box<Entity<'tree>>)
ErroneousEndTag(Box<ErroneousEndTag<'tree>>)
ScriptElement(Box<ScriptElement<'tree>>)
StyleElement(Box<StyleElement<'tree>>)
Text(Box<Text<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for DocumentChildren<'tree>
impl<'tree> Clone for DocumentChildren<'tree>
Source§fn clone(&self) -> DocumentChildren<'tree>
fn clone(&self) -> DocumentChildren<'tree>
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 moreSource§impl<'tree> Debug for DocumentChildren<'tree>
impl<'tree> Debug for DocumentChildren<'tree>
impl<'tree> Eq for DocumentChildren<'tree>
Source§impl<'tree> FromNode<'tree> for DocumentChildren<'tree>
impl<'tree> FromNode<'tree> for DocumentChildren<'tree>
Source§impl<'tree> PartialEq for DocumentChildren<'tree>
impl<'tree> PartialEq for DocumentChildren<'tree>
Source§impl Spanned for DocumentChildren<'_>
impl Spanned for DocumentChildren<'_>
impl<'tree> StructuralPartialEq for DocumentChildren<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for DocumentChildren<'tree>
impl<'tree> RefUnwindSafe for DocumentChildren<'tree>
impl<'tree> Send for DocumentChildren<'tree>
impl<'tree> Sync for DocumentChildren<'tree>
impl<'tree> Unpin for DocumentChildren<'tree>
impl<'tree> UnsafeUnpin for DocumentChildren<'tree>
impl<'tree> UnwindSafe for DocumentChildren<'tree>
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