Struct sxd_xpath::nodeset::Namespace [] [src]

pub struct Namespace<'d> {
    pub parent: Element<'d>,
    pub prefix: &'d str,
    pub uri: &'d str,
}

Represents a namespace.

This differs from the DOM, which does not treat namespaces as a separate item.

Fields

Methods

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

Trait Implementations

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

Formats the value using the given formatter.

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

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

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

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

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