Struct nx::node::Node [] [src]

pub struct Node<'a> { /* fields omitted */ }

A node in an NX file.

Methods

impl<'a> Node<'a>
[src]

[src]

Creates a Node from the data representing it and the file the data is from.

[src]

Gets whether or not the node is empty.

[src]

Gets the name of this node from the string table.

Important traits for Nodes<'a>
[src]

Gets an iterator over this node's children.

Trait Implementations

impl<'a> Clone for Node<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Copy for Node<'a>
[src]

impl<'a> GenericNode<'a> for Node<'a>
[src]

[src]

Gets the child node of the specified name.

[src]

Gets the type of this node.

[src]

Gets the string value of this node. This will be None if the node is not a string node.

[src]

Gets the integer value of this node. This will be None if the node is not an integer node. Read more

[src]

Gets the float value of this node. This will be None if the node is not a float node.

[src]

Gets the vector value of this node. This will be None if the node is not a vector node.

[src]

Gets the audio value of thise node. This will be None if the node is not an audio node.

[src]

Gets the bitmap value of thise node. This will be None if the node is not a bitmap node.

impl<'a> PartialEq for Node<'a>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl<'a> Eq for Node<'a>
[src]

Auto Trait Implementations

impl<'a> Send for Node<'a>

impl<'a> Sync for Node<'a>