#[derive(ManagedEmit)]Available on crate features
event and initial_value only.Expand description
Auto implements the ManagedEmit trait from tauri_interop when compiling to the host
ยงExample
use tauri_interop_macro::{Event, ManagedEmit};
#[derive(Event, ManagedEmit)]
struct EventModel {
foo: String,
pub bar: bool
}
// has to be defined in this example, otherwise the
// macro expansion panics because of missing super
fn main() {}