pub trait StartContext {
// Required methods
fn tokens(&self) -> impl Iterator<Item = impl StartTokenContext>;
fn taken_tokens(&self) -> impl Iterator<Item = impl StartTakenTokenContext>;
fn tokens_at(
&self,
place_id: PlaceId,
) -> impl Iterator<Item = impl StartTokenContext>;
fn taken_tokens_at(
&self,
place_id: PlaceId,
) -> impl Iterator<Item = impl StartTakenTokenContext>;
}Required Methods§
fn tokens(&self) -> impl Iterator<Item = impl StartTokenContext>
fn taken_tokens(&self) -> impl Iterator<Item = impl StartTakenTokenContext>
fn tokens_at( &self, place_id: PlaceId, ) -> impl Iterator<Item = impl StartTokenContext>
fn taken_tokens_at( &self, place_id: PlaceId, ) -> impl Iterator<Item = impl StartTakenTokenContext>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".