Struct sxd_document::dom::Element [] [src]

pub struct Element<'d> { /* fields omitted */ }

Elements are the workhorse of a document and may contain any type of node, except for the Root node

Methods

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

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

Map a prefix to a namespace URI. Any existing prefix on this element will be replaced.

Recursively resolve the prefix to a namespace URI.

Recursively find a prefix for the namespace URI. Since multiple prefixes may map to the same URI, preferred can be provided to select a specific prefix, if it is valid.

Retrieve all namespaces that are in scope, recursively walking up the document tree.

Trait Implementations

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

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

impl<'d> Hash for Element<'d>
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

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

Formats the value using the given formatter.