Enum edn::query::PatternValuePlace
[−]
[src]
pub enum PatternValuePlace { Placeholder, Variable(Variable), EntidOrInteger(i64), IdentOrKeyword(ValueRc<Keyword>), 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
Placeholder
Variable(Variable)
EntidOrInteger(i64)
IdentOrKeyword(ValueRc<Keyword>)
Constant(NonIntegerConstant)
Trait Implementations
impl Clone for PatternValuePlace
[src]
fn clone(&self) -> PatternValuePlace
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for PatternValuePlace
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Eq for PatternValuePlace
[src]
impl PartialEq for PatternValuePlace
[src]
fn eq(&self, __arg_0: &PatternValuePlace) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PatternValuePlace) -> bool
[src]
This method tests for !=
.