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