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§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".