Struct piston_meta::meta_rules::Select [] [src]

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

Stores information about select.

Fields

args: Vec<Rule>

The rules to select from.

debug_id: DebugId

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

Methods

impl Select
[src]

fn parse(&self, tokens: &mut Vec<Range<MetaData>>, state: &TokenizerState, read_token: &ReadToken, refs: &[Rule]) -> ParseResult<TokenizerState>

Parses select.

Trait Implementations

impl PartialEq for Select
[src]

fn eq(&self, __arg_0: &Select) -> bool

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

fn ne(&self, __arg_0: &Select) -> bool

This method tests for !=.

impl Debug for Select
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for Select
[src]

fn clone(&self) -> Select

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more