Struct piston_meta::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, tokenizer: &mut Tokenizer, state: &TokenizerState, chars: &[char], offset: usize, refs: &[(Rc<String>, Rule)]) -> ParseResult<TokenizerState>

Parses select.

Trait Implementations

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