Enum sxd_document::dom::ChildOfElement [] [src]

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

Nodes that may occur as a child of an element node

Variants

Methods

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

Trait Implementations

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

Formats the value using the given formatter.

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

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'d> PartialEq for ChildOfElement<'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 ChildOfElement<'d>
[src]

Performs the conversion.

impl<'d> From<Text<'d>> for ChildOfElement<'d>
[src]

Performs the conversion.

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

Performs the conversion.

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

Performs the conversion.

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

Performs the conversion.