gstreamer::prelude

Trait ControlSourceExt

Source
pub trait ControlSourceExt: IsA<ControlSource> + 'static {
    // Provided method
    fn value(&self, timestamp: ClockTime) -> Option<f64> { ... }
}
Expand description

Trait containing all ControlSource methods.

§Implementors

ControlSource

Provided Methods§

Source

fn value(&self, timestamp: ClockTime) -> Option<f64>

Gets the value for this ControlSource at a given timestamp.

§timestamp

the time for which the value should be returned

§Returns

false if the value couldn’t be returned, true otherwise.

§value

the value

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§