pub fn with_bound( cont: &Container<'_>, generics: &Generics, filter: fn(_: &Field, _: Option<&Variant>) -> bool, bound: &Path, ) -> Generics