Skip to main content

Delta

Trait Delta 

Source
pub trait Delta<State, Input, Range> {
    // Required method
    fn delta(&self, q: State, character: Input) -> Range;
}

Required Methods§

Source

fn delta(&self, q: State, character: Input) -> Range

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<State: Eq + Hash + Copy> Delta<State, Option<char>, HashSet<State>> for NFA<State>

Source§

impl<State: Eq + Hash + Copy> Delta<State, char, State> for DFA<State>