pub enum InventionKind {
Skolem,
TripleTerm,
Bind,
Aggregate,
Existential,
}Expand description
How a rule head builds a value that need not occur in its body.
Variants§
Skolem
A SKOLEM(...) head term mints a value from its arguments.
TripleTerm
A head triple term wraps body values into a larger term.
Bind
A BIND expression computes a value from body values.
Aggregate
An aggregate folds body values into a result value.
Existential
An existential head variable stands for a witness that depends on the rule’s frontier variables.
Trait Implementations§
Source§impl Clone for InventionKind
impl Clone for InventionKind
impl Copy for InventionKind
Source§impl Debug for InventionKind
impl Debug for InventionKind
Source§impl<'de> Deserialize<'de> for InventionKind
impl<'de> Deserialize<'de> for InventionKind
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
Source§impl Display for InventionKind
impl Display for InventionKind
impl Eq for InventionKind
Source§impl Hash for InventionKind
impl Hash for InventionKind
Source§impl Ord for InventionKind
impl Ord for InventionKind
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 PartialEq for InventionKind
impl PartialEq for InventionKind
Source§impl PartialOrd for InventionKind
impl PartialOrd for InventionKind
Source§impl Serialize for InventionKind
impl Serialize for InventionKind
impl StructuralPartialEq for InventionKind
Auto Trait Implementations§
impl Forget for InventionKind
impl Freeze for InventionKind
impl Move for InventionKind
impl RefUnwindSafe for InventionKind
impl Send for InventionKind
impl Sync for InventionKind
impl Unpin for InventionKind
impl UnsafeUnpin for InventionKind
impl UnwindSafe for InventionKind
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