Struct trivial_kernel::stream::statement::Stepper [−][src]
Implementations
impl<S, Ty> Stepper<S, Ty> where
S: StatementStream + Iterator,
<S as Iterator>::Item: TryInto<Opcode>,
Ty: Var,
[src]
S: StatementStream + Iterator,
<S as Iterator>::Item: TryInto<Opcode>,
Ty: Var,
pub fn new(stream: S) -> Stepper<S, Ty>
[src]
pub fn is_state_normal(&self) -> bool
[src]
pub fn get_stream(&self) -> &S
[src]
pub fn get_stream_mut(&mut self) -> &mut S
[src]
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>>
[src]
&mut self,
context: &mut Context<SS>,
state: &mut State,
table: &T
) -> KResult<Option<Action>>
Trait Implementations
impl<S: Debug, Ty: Debug> Debug for Stepper<S, Ty> where
S: StatementStream + Iterator,
<S as Iterator>::Item: TryInto<Opcode>,
S::ProofStream: Debug,
[src]
S: StatementStream + Iterator,
<S as Iterator>::Item: TryInto<Opcode>,
S::ProofStream: Debug,
Auto Trait Implementations
impl<S, Ty> RefUnwindSafe for Stepper<S, Ty> where
S: RefUnwindSafe,
Ty: RefUnwindSafe,
<S as StatementStream>::ProofStream: RefUnwindSafe,
S: RefUnwindSafe,
Ty: RefUnwindSafe,
<S as StatementStream>::ProofStream: RefUnwindSafe,
impl<S, Ty> Send for Stepper<S, Ty> where
S: Send,
Ty: Send,
<S as StatementStream>::ProofStream: Send,
S: Send,
Ty: Send,
<S as StatementStream>::ProofStream: Send,
impl<S, Ty> Sync for Stepper<S, Ty> where
S: Sync,
Ty: Sync,
<S as StatementStream>::ProofStream: Sync,
S: Sync,
Ty: Sync,
<S as StatementStream>::ProofStream: Sync,
impl<S, Ty> Unpin for Stepper<S, Ty> where
S: Unpin,
Ty: Unpin,
<S as StatementStream>::ProofStream: Unpin,
S: Unpin,
Ty: Unpin,
<S as StatementStream>::ProofStream: Unpin,
impl<S, Ty> UnwindSafe for Stepper<S, Ty> where
S: UnwindSafe,
Ty: UnwindSafe,
<S as StatementStream>::ProofStream: UnwindSafe,
S: UnwindSafe,
Ty: UnwindSafe,
<S as StatementStream>::ProofStream: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,