Struct piston_meta::meta_rules::Repeat [] [src]

pub struct Repeat {
    pub rule: Rule,
    pub optional: bool,
    pub debug_id: DebugId,
}

Stores inforamtion about separated by.

Fields

The rule to separate.

Whether the rule must occur at least once.

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

Methods

impl Repeat
[src]

Parses rule repeatedly.

Trait Implementations

impl Clone for Repeat
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Repeat
[src]

Formats the value using the given formatter.

impl PartialEq for Repeat
[src]

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

This method tests for !=.