[][src]Type Definition papyrus::cmds::AppDataAction

type AppDataAction<D> = Box<dyn Fn(&mut D, &mut dyn Write) -> String>;

The action to take. Passes through a mutable reference to the data D.

Use CommandResult::app_data_fn for convenience.