pub fn module_traits( db: &dyn DefsGroup, module_id: ModuleId, ) -> Maybe<Arc<OrderedHashMap<TraitId, ItemTrait>>>
Returns all the traits of the given module.