Struct piston_meta::meta_rules::Sequence [] [src]

pub struct Sequence {
    pub args: Vec<Rule>,
    pub debug_id: DebugId,
}

Stores information about sequence.

Fields

The sequential rules.

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

Methods

impl Sequence
[src]

Parses sequence. Fails if any sub rule fails.

Trait Implementations

impl Clone for Sequence
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Sequence
[src]

Formats the value using the given formatter.

impl PartialEq for Sequence
[src]

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

This method tests for !=.