pub fn module_enums( db: &dyn DefsGroup, module_id: ModuleId, ) -> Maybe<Arc<OrderedHashMap<EnumId, ItemEnum>>>
Returns all the enums of the given module.