pub enum TermRoot {
Slot(AtomSlot),
ExpressionTerm(ExpressionTermIndex),
}Expand description
Where the outermost term of a TermPath sits.
Variants§
Slot(AtomSlot)
A slot of the head or body atom.
ExpressionTerm(ExpressionTermIndex)
A top-level term of a filter or BIND expression.
Trait Implementations§
impl Copy for TermRoot
Source§impl<'de> Deserialize<'de> for TermRoot
impl<'de> Deserialize<'de> for TermRoot
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TermRoot
Source§impl Ord for TermRoot
impl Ord for TermRoot
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for TermRoot
impl PartialOrd for TermRoot
impl StructuralPartialEq for TermRoot
Auto Trait Implementations§
impl Forget for TermRoot
impl Freeze for TermRoot
impl Move for TermRoot
impl RefUnwindSafe for TermRoot
impl Send for TermRoot
impl Sync for TermRoot
impl Unpin for TermRoot
impl UnsafeUnpin for TermRoot
impl UnwindSafe for TermRoot
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