pub fn add_submodule<F>( parent: &Bound<'_, PyModule>, name: &str, mod_init: F, ) -> PyResult<()>where F: Fn(&Bound<'_, PyModule>) -> PyResult<()>,