Struct redfa::dfa::State [] [src]

pub struct State<T, V> {
    pub by_char: BTreeMap<T, u32>,
    pub default: u32,
    pub value: V,
}

A state in a DFA.

Fields

Labelled transitions.

The default transition (for values not in by_char). Note that by_char is assumed not to cover the entire alphabet (T).

A value associated with the state.

Trait Implementations

impl<T: Debug, V: Debug> Debug for State<T, V>
[src]

Formats the value using the given formatter.

impl<T: Clone, V: Clone> Clone for State<T, V>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more