Trait PlayerExt

Source
pub trait PlayerExt<R: Runtime> {
    // Required method
    fn player(&self) -> &Player<R>;
}
Expand description

Extensions to tauri::App, tauri::AppHandle and tauri::Window to access the player APIs.

Required Methods§

Source

fn player(&self) -> &Player<R>

Implementors§

Source§

impl<R: Runtime, T: Manager<R>> PlayerExt<R> for T