Struct app_world::WorldWithMessageBuffer[][src]

pub struct WorldWithMessageBuffer<W: AppWorld> { /* fields omitted */ }
Expand description

Allows us to optionally store sent Msg’s instead of passing them on to state.

This is useful for testing that an event handler dispatched the Msg’s that we expected it to.

Implementations

Create a new state and message buffer.

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.