pub trait StatesSlice<S> {
// Required method
fn states_slice<'a>(
&'a self,
state_indices: impl IntoIterator<Item = StateIndex> + 'a,
) -> Box<dyn Iterator<Item = &S> + 'a>;
}Required Methods§
Sourcefn states_slice<'a>(
&'a self,
state_indices: impl IntoIterator<Item = StateIndex> + 'a,
) -> Box<dyn Iterator<Item = &S> + 'a>
fn states_slice<'a>( &'a self, state_indices: impl IntoIterator<Item = StateIndex> + 'a, ) -> Box<dyn Iterator<Item = &S> + 'a>
Convert the state indices to states.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.