gstreamer::prelude

Trait SystemClockExt

Source
pub trait SystemClockExt: IsA<SystemClock> + 'static {
    // Provided methods
    fn clock_type(&self) -> ClockType { ... }
    fn set_clock_type(&self, clock_type: ClockType) { ... }
    fn connect_clock_type_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
}
Expand description

Trait containing all SystemClock methods.

§Implementors

SystemClock

Provided Methods§

Source

fn clock_type(&self) -> ClockType

Source

fn set_clock_type(&self, clock_type: ClockType)

Source

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