Trait MaaCustomAction

Source
pub trait MaaCustomAction {
    // Provided methods
    fn run(
        &mut self,
        sync_context: MaaSyncContext,
        task_name: String,
        custom_action_param: String,
        cur_box: MaaRectBuffer,
        cur_rec_detail: String,
    ) -> bool { ... }
    fn stop(&mut self) { ... }
}
Available on crate feature custom_action only.

Provided Methods§

Source

fn run( &mut self, sync_context: MaaSyncContext, task_name: String, custom_action_param: String, cur_box: MaaRectBuffer, cur_rec_detail: String, ) -> bool

Source

fn stop(&mut self)

Implementors§