[−][src]Struct gf::ai::executor::PathExecutorState
🟢 State of a PathExecutor
.
Fields
loc: Loc<'a>
Current location.
interp_state: I::State
Current interpretation state.
Implementations
impl<'a, D, I> PathExecutorState<'a, D, I> where
D: Direction,
I: Interp<'a, D>,
[src]
D: Direction,
I: Interp<'a, D>,
pub fn stmt(&mut self, interp: &I, stmt: Stmt<'a>)
[src]
Propagate state across a non-CALL statement.
Errors
- Panics if statement location does not match state location.
- Panics if the statement is a CALL.
Trait Implementations
impl<'a, D: Clone, I: Clone> Clone for PathExecutorState<'a, D, I> where
D: Direction,
I: Interp<'a, D>,
I::State: Clone,
[src]
D: Direction,
I: Interp<'a, D>,
I::State: Clone,
fn clone(&self) -> PathExecutorState<'a, D, I>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a, D: Copy, I: Copy> Copy for PathExecutorState<'a, D, I> where
D: Direction,
I: Interp<'a, D>,
I::State: Copy,
[src]
D: Direction,
I: Interp<'a, D>,
I::State: Copy,
Auto Trait Implementations
impl<'a, D, I> RefUnwindSafe for PathExecutorState<'a, D, I> where
<I as Interp<'a, D>>::State: RefUnwindSafe,
<I as Interp<'a, D>>::State: RefUnwindSafe,
impl<'a, D, I> Send for PathExecutorState<'a, D, I> where
<I as Interp<'a, D>>::State: Send,
<I as Interp<'a, D>>::State: Send,
impl<'a, D, I> Sync for PathExecutorState<'a, D, I> where
<I as Interp<'a, D>>::State: Sync,
<I as Interp<'a, D>>::State: Sync,
impl<'a, D, I> Unpin for PathExecutorState<'a, D, I> where
<I as Interp<'a, D>>::State: Unpin,
<I as Interp<'a, D>>::State: Unpin,
impl<'a, D, I> UnwindSafe for PathExecutorState<'a, D, I> where
<I as Interp<'a, D>>::State: UnwindSafe,
<I as Interp<'a, D>>::State: 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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
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>,