pub struct EpistemicLiteral {
pub op: EpistemicOp,
pub negated: bool,
pub atom: Atom,
}Expand description
Epistemic atom literal in a rule body.
Fields§
§op: EpistemicOpEpistemic operator.
negated: boolWhether this epistemic literal is explicitly negated.
atom: AtomAtom under the epistemic operator.
Trait Implementations§
Source§impl Clone for EpistemicLiteral
impl Clone for EpistemicLiteral
Source§fn clone(&self) -> EpistemicLiteral
fn clone(&self) -> EpistemicLiteral
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 moreSource§impl Debug for EpistemicLiteral
impl Debug for EpistemicLiteral
Source§impl PartialEq for EpistemicLiteral
impl PartialEq for EpistemicLiteral
Source§fn eq(&self, other: &EpistemicLiteral) -> bool
fn eq(&self, other: &EpistemicLiteral) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EpistemicLiteral
Auto Trait Implementations§
impl Freeze for EpistemicLiteral
impl RefUnwindSafe for EpistemicLiteral
impl Send for EpistemicLiteral
impl Sync for EpistemicLiteral
impl Unpin for EpistemicLiteral
impl UnsafeUnpin for EpistemicLiteral
impl UnwindSafe for EpistemicLiteral
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