Struct piston_meta::Syntax [] [src]

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

Stores syntax.


Rule data.

Name of rules.


impl Syntax

Creates a new syntax.

Adds a new rule.

Trait Implementations

impl Clone for Syntax

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Syntax

Formats the value using the given formatter.

impl PartialEq for Syntax

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

This method tests for !=.