Skip to main content

euv_chart/event/
type.rs

1use super::*;
2
3/// A handler registered on a chart.
4///
5/// The handler is shared: registering the same closure twice runs it
6/// twice, which is what a user expects from two separate registrations.
7pub type EventHandler = Rc<dyn Fn(&ChartEvent)>;