pub enum PatternNonValuePlace {
Placeholder,
Variable(Variable),
Entid(i64),
Ident(ValueRc<Keyword>),
}Expand description
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§
Trait Implementations§
Source§impl Clone for PatternNonValuePlace
impl Clone for PatternNonValuePlace
Source§impl Debug for PatternNonValuePlace
impl Debug for PatternNonValuePlace
impl Eq for PatternNonValuePlace
Source§impl From<Keyword> for PatternNonValuePlace
impl From<Keyword> for PatternNonValuePlace
Source§impl FromValue<PatternNonValuePlace> for PatternNonValuePlace
impl FromValue<PatternNonValuePlace> for PatternNonValuePlace
fn from_value(v: &ValueAndSpan) -> Option<PatternNonValuePlace>
Source§impl PartialEq for PatternNonValuePlace
impl PartialEq for PatternNonValuePlace
impl StructuralPartialEq for PatternNonValuePlace
Auto Trait Implementations§
impl !Send for PatternNonValuePlace
impl !Sync for PatternNonValuePlace
impl Freeze for PatternNonValuePlace
impl RefUnwindSafe for PatternNonValuePlace
impl Unpin for PatternNonValuePlace
impl UnsafeUnpin for PatternNonValuePlace
impl UnwindSafe for PatternNonValuePlace
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more