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>
Source§impl<Identifier: PartialEq, Int: PartialEq> PartialEq for Deduction<Identifier, Int>
impl<Identifier: PartialEq, Int: PartialEq> PartialEq for Deduction<Identifier, Int>
impl<Identifier: PartialEq, Int: PartialEq> 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> UnsafeUnpin 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