Enum sxd_document::dom::ChildOfRoot [] [src]

pub enum ChildOfRoot<'d> {
    Element(Element<'d>),
    Comment(Comment<'d>),
    ProcessingInstruction(ProcessingInstruction<'d>),
}

Nodes that may occur as a child of the root node

Variants

Methods

impl<'d> ChildOfRoot<'d>
[src]

Trait Implementations

impl<'d> Debug for ChildOfRoot<'d>
[src]

Formats the value using the given formatter.

impl<'d> Copy for ChildOfRoot<'d>
[src]

impl<'d> Clone for ChildOfRoot<'d>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'d> PartialEq for ChildOfRoot<'d>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'d> From<Element<'d>> for ChildOfRoot<'d>
[src]

Performs the conversion.

impl<'d> From<Comment<'d>> for ChildOfRoot<'d>
[src]

Performs the conversion.

impl<'d> From<ProcessingInstruction<'d>> for ChildOfRoot<'d>
[src]

Performs the conversion.