Extensions to [`tauri::App`], [`tauri::AppHandle`] and [`tauri::Window`] to access the audioplayer APIs.
| 34 | |
| 35 | /// Extensions to [`tauri::App`], [`tauri::AppHandle`] and [`tauri::Window`] to access the audioplayer APIs. |
| 36 | pub trait AudioplayerExt<R: Runtime> { |
| 37 | fn audioplayer(&self) -> &Audioplayer<R>; |
| 38 | } |
| 39 | |
| 40 | impl<R: Runtime, T: Manager<R>> crate::AudioplayerExt<R> for T { |
| 41 | fn audioplayer(&self) -> &Audioplayer<R> { |
nothing calls this directly
no outgoing calls
no test coverage detected