[−][src]Type Definition imgui_ext::Events
type Events<T> = <T as ImGuiExt>::Events;
Alias for the ImGuiExt::Events associated type.
This type is included in the prelude.
ⓘThis example is not tested
use imgui_ext::prelude::*; #[derive(ImGuiExt)] struct Example { /*...*/ } fn handle_events(e: &Events<Example>) { // ... } let mut example = Example { */...*/ }; // init imgui (ui)... let events = ui.imgui_ext(&mut example); handle_events(&events);