tauri_plugin_valtio/valtio.rs
1// THIS FILE WAS AUTOGENERATED AND SHOULD NOT BE EDITED MANUALLY.
2//
3// Check the `codegen` command in the `tauri-store-cli` crate.
4// https://github.com/ferreira-tb/tauri-store/tree/main/crates/tauri-store-cli
5
6use tauri::{Runtime, State};
7use tauri_store::{Collection, CollectionMarker, StoreCollection};
8
9/// The Valtio plugin.
10#[derive(Collection)]
11pub struct Valtio<'a, R: Runtime>(pub(crate) State<'a, StoreCollection<R, ValtioMarker>>);
12
13/// Marker for the Valtio plugin.
14pub struct ValtioMarker;
15
16impl CollectionMarker for ValtioMarker {}