Skip to main content

ObsEncoderHotkeyExt

Trait ObsEncoderHotkeyExt 

Source
pub trait ObsEncoderHotkeyExt: ObsObjectTrait<Native = *mut obs_encoder_t> {
    // Provided method
    fn register_hotkey(
        &self,
        name: &str,
        description: &str,
    ) -> Result<ObsHotkeyRegistration, ObsError> { ... }
}

Provided 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§