Struct piston_meta::meta_rules::Lines [] [src]

pub struct Lines {
    pub rule: Rule,
    pub debug_id: DebugId,
}

Stores information about lines.

Fields

The rule to read lines. This can be a multi-line rule.

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

Methods

impl Lines
[src]

Parses rule separated by one or more lines. Ignores lines that only contain whitespace characters.

Trait Implementations

impl Clone for Lines
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Lines
[src]

Formats the value using the given formatter.

impl PartialEq for Lines
[src]

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

This method tests for !=.