Trait KeyProvidingData

Source
pub trait KeyProvidingData<K> {
    // Required method
    fn next_key(&mut self) -> Option<K>;
}
Expand description

Represents data, that can provide a key which will be used while searching for next state. Usually will use iterator based on a sequence.

Required Methods§

Source

fn next_key(&mut self) -> Option<K>

Implementors§