unsafe extern "C" fn trampoline_event_function<T, F: Fn(&T, Option<&Object>, Event) -> bool + Send + Sync + 'static>( pad: *mut GstPad, parent: *mut GstObject, event: *mut GstEvent, ) -> gbooleanwhere T: IsA<Pad>,