pub struct SupportingInference<Atomic> {
pub premises: Vec<Atomic>,
pub consequent: Option<Atomic>,
}Expand description
An inference used to support a deduction.
Fields§
§premises: Vec<Atomic>The premises of the inference.
consequent: Option<Atomic>The consequent of the inference.
None represents the literal false. I.e., if the consequent is None, then the
premises imply false.
Trait Implementations§
Source§impl<Atomic: Clone> Clone for SupportingInference<Atomic>
impl<Atomic: Clone> Clone for SupportingInference<Atomic>
Source§fn clone(&self) -> SupportingInference<Atomic>
fn clone(&self) -> SupportingInference<Atomic>
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<Atomic: Debug> Debug for SupportingInference<Atomic>
impl<Atomic: Debug> Debug for SupportingInference<Atomic>
impl<Atomic: Eq> Eq for SupportingInference<Atomic>
Source§impl<Atomic: PartialEq> PartialEq for SupportingInference<Atomic>
impl<Atomic: PartialEq> PartialEq for SupportingInference<Atomic>
impl<Atomic: PartialEq> StructuralPartialEq for SupportingInference<Atomic>
Auto Trait Implementations§
impl<Atomic> Freeze for SupportingInference<Atomic>where
Atomic: Freeze,
impl<Atomic> RefUnwindSafe for SupportingInference<Atomic>where
Atomic: RefUnwindSafe,
impl<Atomic> Send for SupportingInference<Atomic>where
Atomic: Send,
impl<Atomic> Sync for SupportingInference<Atomic>where
Atomic: Sync,
impl<Atomic> Unpin for SupportingInference<Atomic>where
Atomic: Unpin,
impl<Atomic> UnsafeUnpin for SupportingInference<Atomic>where
Atomic: UnsafeUnpin,
impl<Atomic> UnwindSafe for SupportingInference<Atomic>where
Atomic: UnwindSafe,
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