pub fn on_min_max(&self) -> &MinMaxInfo {
        match self {
            EventData::OnMinMaxInfo(i) => i,
            d => panic!("Wrong data type: {:?}", d)
        }
    }
/// Unwraps event data into a `&MinMaxInfo`. Panics if it's not the right type.
Unwraps event data into a `&MinMaxInfo`. Panics if it's not the right type.
Unwraps event data into a ` &MinMaxInfo ` . Panics if it ' s not the right type .
pub fn on_min_max(&self) -> &MinMaxInfo {
        match self {
            EventData::OnMinMaxInfo(i) => i,
            d => panic!("Wrong data type: {:?}", d)
        }
    }
pub fn on_min_max ( & self ) -> & MinMaxInfo { match self { EventData :: OnMinMaxInfo ( i ) => i , d => panic ! ( " " d ) } }
Unwraps event data into a `&MinMaxInfo`.
Unwraps event data into a ` &MinMaxInfo ` .
&self