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]

Create a NodeDataRef for a component in a given node.

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

Access the corresponding node.

impl NodeDataRef<ElementData>
[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

The method called to dereference a value

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

Formats the value using the given formatter.

impl Element for NodeDataRef<ElementData>
[src]

Returns whether this element matches :empty. Read more

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

Add flags to the element. See the ElementFlags docs for details. Read more

Clears the relevant ElementFlags. This is not called from rust-selectors, but provided as part of the Element interface since it makes sense. Read more

impl MatchAttrGeneric for NodeDataRef<ElementData>
[src]