Struct piston_meta::Syntax [] [src]

pub struct Syntax {
    pub rules: Vec<Rule>,
    pub names: Vec<Arc<String>>,
}

Stores syntax.

Fields

Rule data.

Name of rules.

Methods

impl Syntax
[src]

Creates a new syntax.

Adds a new rule.

Trait Implementations

impl Clone for Syntax
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Syntax
[src]

Formats the value using the given formatter.

impl PartialEq for Syntax
[src]

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

This method tests for !=.