pub trait ToggleAction {
    fn call(command_id: CommandId) -> ToggleActionResult;
}
Expand description

Consumers need to implement this trait in order to let REAPER know if a toggleable action is currently on or off.

Required Methods

The actual callback function called by REAPER to check if an action registered by an extension has an on or off state.

Implementors