MonitorExt

Trait MonitorExt 

Source
pub trait MonitorExt: IsA<Monitor> + 'static {
    // Provided methods
    fn element(&self) -> Option<Element> { ... }
    fn element_name(&self) -> Option<GString> { ... }
    fn pipeline(&self) -> Option<Pipeline> { ... }
    fn target(&self) -> Option<Object> { ... }
    fn object(&self) -> Option<Object> { ... }
    fn set_pipeline<P: IsA<Pipeline>>(&self, pipeline: Option<&P>) { ... }
    fn validate_parent(&self) -> Option<Monitor> { ... }
    fn connect_pipeline_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
    fn connect_verbosity_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
}

Provided Methods§

Source

fn element(&self) -> Option<Element>

Source

fn element_name(&self) -> Option<GString>

Source

fn pipeline(&self) -> Option<Pipeline>

Source

fn target(&self) -> Option<Object>

Source

fn object(&self) -> Option<Object>

Source

fn set_pipeline<P: IsA<Pipeline>>(&self, pipeline: Option<&P>)

Source

fn validate_parent(&self) -> Option<Monitor>

Source

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

Source

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