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§
sourcefn editor_command(
&mut self,
act: &EditorAction,
ctx: &C,
store: &mut S
) -> EditResult<EditInfo, I>
fn editor_command( &mut self, act: &EditorAction, ctx: &C, store: &mut S ) -> EditResult<EditInfo, I>
Execute an editor action.