pub fn module_structs(
db: &dyn DefsGroup,
module_id: ModuleId,
) -> Maybe<Arc<OrderedHashMap<StructId, ItemStruct>>>
Expand description
Returns all the structs of the given module.
pub fn module_structs(
db: &dyn DefsGroup,
module_id: ModuleId,
) -> Maybe<Arc<OrderedHashMap<StructId, ItemStruct>>>
Returns all the structs of the given module.