libadwaita::subclass::prelude

Trait MediaStreamImpl

Source
pub trait MediaStreamImpl: MediaStreamImplExt + ObjectImpl {
    // 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", so this trait is not object safe.

Implementors§