pub enum ResolvedSourceObjectKind {
Show 14 variants
Import,
Function,
Domain,
Predicate,
Rule,
Constraint,
Query,
ProbabilisticFact,
AnnotatedDisjunction,
Evidence,
ProbabilisticQuery,
NeuralPredicate,
LearnableRule,
Directive,
}Expand description
Source-level constructs represented by the canonical parser.
Variants§
Import
A use declaration.
Function
A user-defined function declaration.
Domain
A scalar domain alias declaration.
Predicate
A predicate schema declaration.
Rule
A fact or rule clause.
Constraint
An integrity constraint.
Query
A deterministic query.
ProbabilisticFact
A probabilistic fact.
AnnotatedDisjunction
An annotated disjunction.
Evidence
A probabilistic evidence statement.
ProbabilisticQuery
A probabilistic query.
NeuralPredicate
A neural predicate declaration.
LearnableRule
A learnable rule template.
Directive
A compilation directive.
Trait Implementations§
Source§impl Clone for ResolvedSourceObjectKind
impl Clone for ResolvedSourceObjectKind
Source§fn clone(&self) -> ResolvedSourceObjectKind
fn clone(&self) -> ResolvedSourceObjectKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ResolvedSourceObjectKind
Source§impl Debug for ResolvedSourceObjectKind
impl Debug for ResolvedSourceObjectKind
impl Eq for ResolvedSourceObjectKind
Source§impl Ord for ResolvedSourceObjectKind
impl Ord for ResolvedSourceObjectKind
Source§fn cmp(&self, other: &ResolvedSourceObjectKind) -> Ordering
fn cmp(&self, other: &ResolvedSourceObjectKind) -> Ordering
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
Source§impl PartialEq for ResolvedSourceObjectKind
impl PartialEq for ResolvedSourceObjectKind
Source§impl PartialOrd for ResolvedSourceObjectKind
impl PartialOrd for ResolvedSourceObjectKind
Source§impl Serialize for ResolvedSourceObjectKind
impl Serialize for ResolvedSourceObjectKind
impl StructuralPartialEq for ResolvedSourceObjectKind
Auto Trait Implementations§
impl Freeze for ResolvedSourceObjectKind
impl RefUnwindSafe for ResolvedSourceObjectKind
impl Send for ResolvedSourceObjectKind
impl Sync for ResolvedSourceObjectKind
impl Unpin for ResolvedSourceObjectKind
impl UnsafeUnpin for ResolvedSourceObjectKind
impl UnwindSafe for ResolvedSourceObjectKind
Blanket Implementations§
impl<T> Allocation for T
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more