Struct piston_meta::meta_rules::Node [] [src]

pub struct Node {
    pub name: Arc<String>,
    pub property: Option<Arc<String>>,
    pub debug_id: DebugId,
    pub index: Option<usize>,
}

A node reference.

Fields

Name of rule.

The property to set.

A debug id to track down the rule generating an error.

The index to the rule reference.

Methods

impl Node
[src]

Parses node.

Trait Implementations

impl Clone for Node
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Node
[src]

Formats the value using the given formatter.

impl PartialEq for Node
[src]

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

This method tests for !=.