Enum mycroft::ir::MatchVal [] [src]

pub enum MatchVal {
    Var(usize),
    Const(String),
}

Values usable to describe a restriction or instantiation of a query variable

Variants

nth variable returned by the generated query

Constant specified by the identifier

Trait Implementations

impl Debug for MatchVal
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for MatchVal
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for MatchVal
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for MatchVal
[src]

Auto Trait Implementations

impl Send for MatchVal

impl Sync for MatchVal