Struct treexml::ElementBuilder[][src]

pub struct ElementBuilder { /* fields omitted */ }

A builder for Element

Methods

impl ElementBuilder
[src]

Create a builder for an Element with the tag name name

Set the element's prefix to prefix

Set the element's attribute key to value

Set the element's text to text

Set the element's CDATA to cdata

Append children to this Element

Creates an Element from the builder

Trait Implementations

impl Debug for ElementBuilder
[src]

Formats the value using the given formatter. Read more

impl Clone for ElementBuilder
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for ElementBuilder
[src]

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

This method tests for !=.

impl Eq for ElementBuilder
[src]

impl From<ElementBuilder> for Element
[src]

Performs the conversion.

impl From<Element> for ElementBuilder
[src]

Performs the conversion.

Auto Trait Implementations