pub enum AxiomThm<S> {
Start {
idx: u32,
is_axiom: bool,
stream: S,
},
RunProof {
stepper: Stepper<S>,
is_axiom: bool,
commands: Range<usize>,
nr_args: usize,
},
ProofDone {
stream: S,
is_axiom: bool,
commands: Range<usize>,
nr_args: usize,
},
RunUnify {
stream: S,
stepper: Stepper,
},
Done {
stream: S,
},
Dummy,
}Variants§
Implementations§
Source§impl<S> AxiomThm<S>
impl<S> AxiomThm<S>
pub fn new(idx: u32, stream: S, is_axiom: bool) -> AxiomThm<S>
pub fn take_stream_if_done(self) -> Option<S>
pub fn is_done(&self) -> bool
pub fn step<SS: Store, T: Table<Var = SS::Var>>( &mut self, context: &mut Context<SS>, state: &State, table: &T, ) -> KResult<AxiomThmAction>
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for AxiomThm<S>where
S: Freeze,
impl<S> RefUnwindSafe for AxiomThm<S>where
S: RefUnwindSafe,
impl<S> Send for AxiomThm<S>where
S: Send,
impl<S> Sync for AxiomThm<S>where
S: Sync,
impl<S> Unpin for AxiomThm<S>where
S: Unpin,
impl<S> UnwindSafe for AxiomThm<S>where
S: 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