Trait modalkit::actions::Editable

source ·
pub trait Editable<C, S, I>
where I: ApplicationInfo,
{ // Required method fn editor_command( &mut self, act: &EditorAction, ctx: &C, store: &mut S ) -> EditResult<EditInfo, I>; }
Expand description

Trait for objects which can process EditorActions.

Required Methods§

source

fn editor_command( &mut self, act: &EditorAction, ctx: &C, store: &mut S ) -> EditResult<EditInfo, I>

Execute an editor action.

Implementors§