Skip to main content

NfcExt

Trait NfcExt 

Source
pub trait NfcExt<R: Runtime> {
    // Required method
    fn nfc(&self) -> &Nfc<R>;
}
Expand description

Extensions to tauri::App, tauri::AppHandle, tauri::WebviewWindow, tauri::Webview and tauri::Window to access the NFC APIs.

Required Methods§

Source

fn nfc(&self) -> &Nfc<R>

Returns the Nfc instance managed by the plugin.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

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