Enum mentat_query::PatternValuePlace [] [src]

pub enum PatternValuePlace {
    Placeholder,
    Variable(Variable),
    EntidOrInteger(i64),
    IdentOrKeyword(Rc<NamespacedKeyword>),
    Constant(NonIntegerConstant),
}

The v part of a pattern can be much broader: it can represent integers that aren't entity IDs (particularly negative integers), strings, and all the rest. We group those under Constant.

Variants

Trait Implementations

impl Clone for PatternValuePlace
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for PatternValuePlace
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for PatternValuePlace
[src]

impl PartialEq for PatternValuePlace
[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 FromValue<PatternValuePlace> for PatternValuePlace
[src]

[src]