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