Skip to main content

ThermalPrinterExt

Trait ThermalPrinterExt 

Source
pub trait ThermalPrinterExt<R: Runtime> {
    // Required method
    fn thermal_printer(&self) -> &ThermalPrinter<R>;
}
Expand description

Extensions to tauri::App, tauri::AppHandle and tauri::Window to access the thermal-printer APIs.

Required Methods§

Source

fn thermal_printer(&self) -> &ThermalPrinter<R>

Implementors§

Source§

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