Skip to main content

ObsServiceHotkeyExt

Trait ObsServiceHotkeyExt 

Source
pub trait ObsServiceHotkeyExt {
    // Required method
    fn register_hotkey(
        &self,
        name: &str,
        description: &str,
    ) -> Result<ObsHotkeyRegistration, ObsError>;
}

Required Methods§

Source

fn register_hotkey( &self, name: &str, description: &str, ) -> Result<ObsHotkeyRegistration, ObsError>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§