pub fn downcast_ref<T: FromEvent>(&self) -> Option<&T> {
        if T::is(self) {
            unsafe { Some(&*(self as *const _ as *const _)) }
        } else {
            None
        }
    }
/// Tries to downcast to a specific event type.
Tries to downcast to a specific event type.
Tries to downcast to a specific event type .
pub fn downcast_ref<T: FromEvent>(&self) -> Option<&T> {
        if T::is(self) {
            unsafe { Some(&*(self as *const _ as *const _)) }
        } else {
            None
        }
    }
pub fn downcast_ref < T : FromEvent > ( & self ) -> Option < & T > { if T :: is ( self ) { unsafe { Some ( & * ( self as * const _ as * const _ ) ) } } else { None } }
Tries to downcast to a specific event type.
Tries to downcast to a specific event type .
&self