Skip to main content

StartContext

Trait StartContext 

Source
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§

Source

fn tokens(&self) -> impl Iterator<Item = impl StartTokenContext>

Source

fn taken_tokens(&self) -> impl Iterator<Item = impl StartTakenTokenContext>

Source

fn tokens_at( &self, place_id: PlaceId, ) -> impl Iterator<Item = impl StartTokenContext>

Source

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".

Implementors§