[][src]Struct gf::code::dfa::concrete::ConcreteStateFrame

pub struct ConcreteStateFrame { /* fields omitted */ }

Stack frame in a concrete interpretation state.


impl ConcreteStateFrame[src]

pub fn new() -> Self[src]

Create a stack frame.

pub fn var(&self, var: Var) -> Option<&ConcreteStateValue>[src]

Return variable value.

pub fn set_var(&mut self, var: Var, value: ConcreteStateValue)[src]

Set variable value.

pub fn vars(&self) -> impl Iterator<Item = (Var, &ConcreteStateValue)>[src]

Return an iterator over variables and their values in increasing order of variable numbers.

Trait Implementations

impl Clone for ConcreteStateFrame[src]

impl Default for ConcreteStateFrame[src]

impl Eq for ConcreteStateFrame[src]

impl PartialEq<ConcreteStateFrame> for ConcreteStateFrame[src]

impl Debug for ConcreteStateFrame[src]

impl StructuralPartialEq for ConcreteStateFrame[src]

impl StructuralEq for ConcreteStateFrame[src]

Auto Trait Implementations

impl Send for ConcreteStateFrame

impl Sync for ConcreteStateFrame

impl Unpin for ConcreteStateFrame

impl UnwindSafe for ConcreteStateFrame

impl RefUnwindSafe for ConcreteStateFrame

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 

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

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized