pub struct MP<PrP, PrI> { /* private fields */ }Expand description
The modus ponens inference rule:
if ⊢ P and ⊢ (P -> Q), then ⊢ Q.
PrP should be a proof of P. PrI should be a proof of (P -> Q).
Trait Implementations§
Auto Trait Implementations§
impl<PrP, PrI> Freeze for MP<PrP, PrI>
impl<PrP, PrI> RefUnwindSafe for MP<PrP, PrI>where
PrP: RefUnwindSafe,
PrI: RefUnwindSafe,
impl<PrP, PrI> Send for MP<PrP, PrI>
impl<PrP, PrI> Sync for MP<PrP, PrI>
impl<PrP, PrI> Unpin for MP<PrP, PrI>
impl<PrP, PrI> UnwindSafe for MP<PrP, PrI>where
PrP: UnwindSafe,
PrI: 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