gstreamer_pbutils::prelude

Trait AudioVisualizerExt

Source
pub trait AudioVisualizerExt: IsA<AudioVisualizer> + 'static {
    // Provided methods
    fn shade_amount(&self) -> u32 { ... }
    fn set_shade_amount(&self, shade_amount: u32) { ... }
    fn shader(&self) -> AudioVisualizerShader { ... }
    fn set_shader(&self, shader: AudioVisualizerShader) { ... }
    fn connect_shade_amount_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
    fn connect_shader_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
}
Expand description

Trait containing all AudioVisualizer methods.

§Implementors

AudioVisualizer

Provided Methods§

Source

fn shade_amount(&self) -> u32

Source

fn set_shade_amount(&self, shade_amount: u32)

Source

fn shader(&self) -> AudioVisualizerShader

Source

fn set_shader(&self, shader: AudioVisualizerShader)

Source

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

Source

fn connect_shader_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§