pub trait ContextualActions {
    fn actions(&self, app: &App, id: ID) -> Vec<(Key, String)>Notable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
    A: Allocator
;
fn execute(
        &mut self,
        ctx: &mut EventCtx<'_>,
        app: &mut App,
        id: ID,
        action: String,
        close_panel: &mut bool
    ) -> Transition<App>;
fn is_paused(&self) -> bool;
fn gameplay_mode(&self) -> GameplayMode; }

Required methods

Implementors