Struct trivial_kernel::stream::statement::Stepper[][src]

pub struct Stepper<S, Ty> where
    S: StatementStream + Iterator,
    <S as Iterator>::Item: TryInto<Opcode>, 
{ /* fields omitted */ }

Implementations

impl<S, Ty> Stepper<S, Ty> where
    S: StatementStream + Iterator,
    <S as Iterator>::Item: TryInto<Opcode>,
    Ty: Var
[src]

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]

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]

Auto Trait Implementations

impl<S, Ty> RefUnwindSafe for Stepper<S, Ty> where
    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

impl<S, Ty> Sync for Stepper<S, Ty> where
    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

impl<S, Ty> UnwindSafe for Stepper<S, Ty> where
    S: UnwindSafe,
    Ty: UnwindSafe,
    <S as StatementStream>::ProofStream: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.