TorchExt

Trait TorchExt 

Source
pub trait TorchExt<R: Runtime> {
    // Required method
    fn torch(&self) -> &Torch<R>;
}
Expand description

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

Required Methods§

Source

fn torch(&self) -> &Torch<R>

Implementors§

Source§

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