gstreamer_controller::prelude

Trait ARGBControlBindingExt

Source
pub trait ARGBControlBindingExt: IsA<ARGBControlBinding> + 'static {
    // Provided methods
    fn control_source_a(&self) -> Option<ControlSource> { ... }
    fn set_control_source_a<P: IsA<ControlSource>>(
        &self,
        control_source_a: Option<&P>,
    ) { ... }
    fn control_source_b(&self) -> Option<ControlSource> { ... }
    fn set_control_source_b<P: IsA<ControlSource>>(
        &self,
        control_source_b: Option<&P>,
    ) { ... }
    fn control_source_g(&self) -> Option<ControlSource> { ... }
    fn set_control_source_g<P: IsA<ControlSource>>(
        &self,
        control_source_g: Option<&P>,
    ) { ... }
    fn control_source_r(&self) -> Option<ControlSource> { ... }
    fn set_control_source_r<P: IsA<ControlSource>>(
        &self,
        control_source_r: Option<&P>,
    ) { ... }
    fn connect_control_source_a_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
    fn connect_control_source_b_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
    fn connect_control_source_g_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
    fn connect_control_source_r_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
}
Expand description

Trait containing all ARGBControlBinding methods.

§Implementors

ARGBControlBinding

Provided Methods§

Source

fn control_source_a(&self) -> Option<ControlSource>

Source

fn set_control_source_a<P: IsA<ControlSource>>( &self, control_source_a: Option<&P>, )

Source

fn control_source_b(&self) -> Option<ControlSource>

Source

fn set_control_source_b<P: IsA<ControlSource>>( &self, control_source_b: Option<&P>, )

Source

fn control_source_g(&self) -> Option<ControlSource>

Source

fn set_control_source_g<P: IsA<ControlSource>>( &self, control_source_g: Option<&P>, )

Source

fn control_source_r(&self) -> Option<ControlSource>

Source

fn set_control_source_r<P: IsA<ControlSource>>( &self, control_source_r: Option<&P>, )

Source

fn connect_control_source_a_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_control_source_b_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_control_source_g_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_control_source_r_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§