gstreamer_editing_services::prelude

Trait VideoTestSourceExt

Source
pub trait VideoTestSourceExt: IsA<VideoTestSource> + 'static {
    // Provided methods
    fn pattern(&self) -> VideoTestPattern { ... }
    fn set_pattern(&self, pattern: VideoTestPattern) { ... }
}
Expand description

Trait containing all VideoTestSource methods.

§Implementors

VideoTestSource

Provided Methods§

Source

fn pattern(&self) -> VideoTestPattern

Get the video pattern used by the self.

§Returns

The video pattern used by the self.

Source

fn set_pattern(&self, pattern: VideoTestPattern)

Sets the source to use the given pattern.

§pattern

a VideoTestPattern

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§