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]
impl Clone for PatternValuePlace
fn clone(&self) -> PatternValuePlace
[src]
fn clone(&self) -> PatternValuePlace
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for PatternValuePlace
[src]
impl Debug for PatternValuePlace
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for PatternValuePlace
[src]
impl Eq for PatternValuePlace
impl PartialEq for PatternValuePlace
[src]
impl PartialEq for PatternValuePlace
fn eq(&self, __arg_0: &PatternValuePlace) -> bool
[src]
fn eq(&self, __arg_0: &PatternValuePlace) -> bool
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]
fn ne(&self, __arg_0: &PatternValuePlace) -> bool
This method tests for !=
.
impl From<Rc<Keyword>> for PatternValuePlace
[src]
impl From<Rc<Keyword>> for PatternValuePlace
impl From<Keyword> for PatternValuePlace
[src]
impl From<Keyword> for PatternValuePlace
impl FromValue<PatternValuePlace> for PatternValuePlace
[src]
impl FromValue<PatternValuePlace> for PatternValuePlace
fn from_value(v: &ValueAndSpan) -> Option<PatternValuePlace>
[src]
fn from_value(v: &ValueAndSpan) -> Option<PatternValuePlace>
Auto Trait Implementations
impl !Send for PatternValuePlace
impl !Send for PatternValuePlace
impl !Sync for PatternValuePlace
impl !Sync for PatternValuePlace