pub struct EpistemicInterpretation { /* private fields */ }Expand description
Minimal interpretation used by G91/FAEEL distinction fixtures.
Implementations§
Source§impl EpistemicInterpretation
impl EpistemicInterpretation
Sourcepub fn with_known(self, predicate: impl Into<String>, arity: usize) -> Self
pub fn with_known(self, predicate: impl Into<String>, arity: usize) -> Self
Mark a predicate/arity pair as known.
Sourcepub fn with_known_terms(
self,
predicate: impl Into<String>,
terms: Vec<Term>,
) -> Result<Self>
pub fn with_known_terms( self, predicate: impl Into<String>, terms: Vec<Term>, ) -> Result<Self>
Mark a concrete tuple key as known.
Sourcepub fn with_possible(self, predicate: impl Into<String>, arity: usize) -> Self
pub fn with_possible(self, predicate: impl Into<String>, arity: usize) -> Self
Mark a predicate/arity pair as possible under G91 compatibility semantics.
Sourcepub fn with_possible_terms(
self,
predicate: impl Into<String>,
terms: Vec<Term>,
) -> Result<Self>
pub fn with_possible_terms( self, predicate: impl Into<String>, terms: Vec<Term>, ) -> Result<Self>
Mark a concrete tuple key as possible under G91 compatibility semantics.
Sourcepub fn with_rejected(self, predicate: impl Into<String>, arity: usize) -> Self
pub fn with_rejected(self, predicate: impl Into<String>, arity: usize) -> Self
Mark a predicate/arity pair as rejected by the candidate.
Trait Implementations§
Source§impl Clone for EpistemicInterpretation
impl Clone for EpistemicInterpretation
Source§fn clone(&self) -> EpistemicInterpretation
fn clone(&self) -> EpistemicInterpretation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EpistemicInterpretation
impl Debug for EpistemicInterpretation
Source§impl Default for EpistemicInterpretation
impl Default for EpistemicInterpretation
Source§fn default() -> EpistemicInterpretation
fn default() -> EpistemicInterpretation
Returns the “default value” for a type. Read more
Source§impl PartialEq for EpistemicInterpretation
impl PartialEq for EpistemicInterpretation
impl Eq for EpistemicInterpretation
impl StructuralPartialEq for EpistemicInterpretation
Auto Trait Implementations§
impl Freeze for EpistemicInterpretation
impl RefUnwindSafe for EpistemicInterpretation
impl Send for EpistemicInterpretation
impl Sync for EpistemicInterpretation
impl Unpin for EpistemicInterpretation
impl UnsafeUnpin for EpistemicInterpretation
impl UnwindSafe for EpistemicInterpretation
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,
§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