pub struct Deduction<Identifier, Int> {
pub constraint_id: ConstraintId,
pub premises: Vec<IntAtomic<Identifier, Int>>,
pub sequence: Vec<ConstraintId>,
}Expand description
An deduction step.
Fields§
§constraint_id: ConstraintIdThe ID of the step.
premises: Vec<IntAtomic<Identifier, Int>>The premises of the proof.
sequence: Vec<ConstraintId>The constraints to apply to derive the deduction. These should point to Inferences, but
the parser does not verify that.
Trait Implementations§
impl<Identifier: Eq, Int: Eq> Eq for Deduction<Identifier, Int>
impl<Identifier, Int> StructuralPartialEq for Deduction<Identifier, Int>
Auto Trait Implementations§
impl<Identifier, Int> Freeze for Deduction<Identifier, Int>
impl<Identifier, Int> RefUnwindSafe for Deduction<Identifier, Int>where
Identifier: RefUnwindSafe,
Int: RefUnwindSafe,
impl<Identifier, Int> Send for Deduction<Identifier, Int>
impl<Identifier, Int> Sync for Deduction<Identifier, Int>
impl<Identifier, Int> Unpin for Deduction<Identifier, Int>
impl<Identifier, Int> UnwindSafe for Deduction<Identifier, Int>where
Identifier: UnwindSafe,
Int: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.