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§
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)
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.