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> Clone for NodeDataRef<T>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

Formats the value using the given formatter.

impl Element for NodeDataRef<ElementData>
[src]

[src]

Converts self into an opaque representation.

[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

Whether this element is a link.

[src]

[src]

[src]

[src]

[src]

[src]

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

[src]

Returns the assigned element this element is assigned to. Read more

[src]

Returns whether this element should ignore matching nth child selector. Read more

[src]

Return true if we want to stop lookup ancestor of the current element while matching complex selectors with descendant/child combinator. Read more