Trait modalkit::actions::Promptable

source ·
pub trait Promptable<C, S, I>
where I: ApplicationInfo,
{ // Required method fn prompt( &mut self, act: &PromptAction, ctx: &C, store: &mut S ) -> EditResult<Vec<(Action<I>, C)>, I>; }
Expand description

A widget that the user can switch focus of keyboard input to.

Required Methods§

source

fn prompt( &mut self, act: &PromptAction, ctx: &C, store: &mut S ) -> EditResult<Vec<(Action<I>, C)>, I>

Execute a prompt action.

Implementors§