pub struct Stepper<S, Ty>{ /* private fields */ }Implementations§
Source§impl<S, Ty> Stepper<S, Ty>
impl<S, Ty> Stepper<S, Ty>
pub fn new(stream: S) -> Stepper<S, Ty>
pub fn is_state_normal(&self) -> bool
pub fn get_stream(&self) -> &S
pub fn get_stream_mut(&mut self) -> &mut S
pub fn step<SS: Store<Var = Ty>, T: Table<Var = SS::Var>>( &mut self, context: &mut Context<SS>, state: &mut State, table: &T, ) -> KResult<Option<Action>>
Trait Implementations§
Auto Trait Implementations§
impl<S, Ty> Freeze for Stepper<S, Ty>where
<S as Iterator>::Item: Sized,
S: Freeze,
<S as StatementStream>::ProofStream: Freeze,
Ty: Freeze,
impl<S, Ty> RefUnwindSafe for Stepper<S, Ty>where
<S as Iterator>::Item: Sized,
S: RefUnwindSafe,
<S as StatementStream>::ProofStream: RefUnwindSafe,
Ty: RefUnwindSafe,
impl<S, Ty> Send for Stepper<S, Ty>
impl<S, Ty> Sync for Stepper<S, Ty>
impl<S, Ty> Unpin for Stepper<S, Ty>where
<S as Iterator>::Item: Sized,
S: Unpin,
<S as StatementStream>::ProofStream: Unpin,
Ty: Unpin,
impl<S, Ty> UnwindSafe for Stepper<S, Ty>where
<S as Iterator>::Item: Sized,
S: UnwindSafe,
<S as StatementStream>::ProofStream: UnwindSafe,
Ty: 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