Enum edn::query::PatternNonValuePlace
[−]
[src]
pub enum PatternNonValuePlace { Placeholder, Variable(Variable), Entid(i64), Ident(ValueRc<Keyword>), }
e, a, tx can't be values -- no strings, no floats -- and so they can only be variables, entity IDs, ident keywords, or placeholders. This encoding allows us to represent integers that aren't entity IDs. That'll get filtered out in the context of the database.
Variants
Placeholder
Variable(Variable)
Entid(i64)
Ident(ValueRc<Keyword>)
Trait Implementations
impl Clone for PatternNonValuePlace
[src]
impl Clone for PatternNonValuePlace
fn clone(&self) -> PatternNonValuePlace
[src]
fn clone(&self) -> PatternNonValuePlace
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 PatternNonValuePlace
[src]
impl Debug for PatternNonValuePlace
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 PatternNonValuePlace
[src]
impl Eq for PatternNonValuePlace
impl PartialEq for PatternNonValuePlace
[src]
impl PartialEq for PatternNonValuePlace
fn eq(&self, __arg_0: &PatternNonValuePlace) -> bool
[src]
fn eq(&self, __arg_0: &PatternNonValuePlace) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PatternNonValuePlace) -> bool
[src]
fn ne(&self, __arg_0: &PatternNonValuePlace) -> bool
This method tests for !=
.
impl From<Rc<Keyword>> for PatternNonValuePlace
[src]
impl From<Rc<Keyword>> for PatternNonValuePlace
impl From<Keyword> for PatternNonValuePlace
[src]
impl From<Keyword> for PatternNonValuePlace
impl FromValue<PatternNonValuePlace> for PatternNonValuePlace
[src]
impl FromValue<PatternNonValuePlace> for PatternNonValuePlace
fn from_value(v: &ValueAndSpan) -> Option<PatternNonValuePlace>
[src]
fn from_value(v: &ValueAndSpan) -> Option<PatternNonValuePlace>
Auto Trait Implementations
impl !Send for PatternNonValuePlace
impl !Send for PatternNonValuePlace
impl !Sync for PatternNonValuePlace
impl !Sync for PatternNonValuePlace