pub fn module_constants(
db: &dyn DefsGroup,
module_id: ModuleId,
) -> Maybe<Arc<OrderedHashMap<ConstantId, ItemConstant>>>
Expand description
Returns all the constant definitions of the given module.
pub fn module_constants(
db: &dyn DefsGroup,
module_id: ModuleId,
) -> Maybe<Arc<OrderedHashMap<ConstantId, ItemConstant>>>
Returns all the constant definitions of the given module.