Skip to main content

MediaStreamImpl

Trait MediaStreamImpl 

Source
pub trait MediaStreamImpl: ObjectImpl + ObjectSubclass
where Self::Type: IsA<MediaStream> + IsA<Paintable>,
{ // Provided methods fn pause(&self) { ... } fn play(&self) -> bool { ... } fn realize(&self, surface: Surface) { ... } fn seek(&self, timestamp: i64) { ... } fn unrealize(&self, surface: Surface) { ... } fn update_audio(&self, muted: bool, volume: f64) { ... } }

Provided Methods§

Source

fn pause(&self)

Source

fn play(&self) -> bool

Source

fn realize(&self, surface: Surface)

Source

fn seek(&self, timestamp: i64)

Source

fn unrealize(&self, surface: Surface)

Source

fn update_audio(&self, muted: bool, volume: f64)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§