[][src]Trait minutiae::driver::middleware::Middleware

pub trait Middleware<C: CellState, E: EntityState<C>, M: MutEntityState, CA: CellAction<C>, EA: EntityAction<C, E>, U: Universe<C, E, M>, N: Engine<C, E, M, CA, EA, U>> {
    fn after_render(&mut self, _: &mut U) { ... }
fn before_render(&mut self, _: &mut U) { ... } }

Adds some side effect on to the end or beginning of the render cycle

Provided methods

fn after_render(&mut self, _: &mut U)

fn before_render(&mut self, _: &mut U)

Loading content...

Implementors

impl<C: CellState, E: EntityState<C>, M: MutEntityState, CA: CellAction<C>, EA: EntityAction<C, E>, N: Engine<C, E, M, CA, EA, Universe2D<C, E, M>>> Middleware<C, E, M, CA, EA, Universe2D<C, E, M>, N> for GifRenderer<C, E, M>[src]

impl<C: CellState, E: EntityState<C>, M: MutEntityState, CA: CellAction<C>, EA: EntityAction<C, E>, U: Universe<C, E, M> + Debug, N: Engine<C, E, M, CA, EA, U>> Middleware<C, E, M, CA, EA, U, N> for UniverseDisplayer[src]

impl<C: CellState, E: EntityState<C>, M: MutEntityState, CA: CellAction<C>, EA: EntityAction<C, E>, U: Universe<C, E, M>, N: Engine<C, E, M, CA, EA, U>> Middleware<C, E, M, CA, EA, U, N> for Delay[src]

impl<C: CellState, E: EntityState<C>, M: MutEntityState, CA: CellAction<C>, EA: EntityAction<C, E>, U: Universe<C, E, M>, N: Engine<C, E, M, CA, EA, U>> Middleware<C, E, M, CA, EA, U, N> for MinDelay[src]

Loading content...