Struct kuchiki::NodeDataRef [] [src]

pub struct NodeDataRef<T> { /* fields omitted */ }

Holds a strong reference to a node, but dereferences to some component inside of it.

Methods

impl<T> NodeDataRef<T>
[src]

[src]

Create a NodeDataRef for a component in a given node.

[src]

Create a NodeDataRef for and a component that may or may not be in a given node.

[src]

Access the corresponding node.

impl NodeDataRef<ElementData>
[src]

[src]

Return the concatenation of all text nodes in this subtree.

Trait Implementations

impl<T> Deref for NodeDataRef<T>
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.

impl<T: Debug> Debug for NodeDataRef<T>
[src]

[src]

Formats the value using the given formatter.

impl Element for NodeDataRef<ElementData>
[src]

[src]

[src]

Skips non-element nodes

[src]

Skips non-element nodes

[src]

Skips non-element nodes

[src]

Skips non-element nodes

[src]

Returns whether this element matches :empty. Read more

[src]

Returns whether this element matches :root, i.e. whether it is the root element of a document. Read more

[src]

[src]

[src]

Empty string for no namespace

[src]

[src]

[src]

[src]

[src]

[src]

The parent of a given pseudo-element, after matching a pseudo-element selector. Read more