Trait reaper_medium::ToggleAction
source · [−]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
sourcefn call(command_id: CommandId) -> ToggleActionResult
fn call(command_id: CommandId) -> ToggleActionResult
The actual callback function called by REAPER to check if an action registered by an extension has an on or off state.