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