Function veloren_common::comp::inventory::item::modular::weapon_component_to_key
source · pub fn weapon_component_to_key(
item_def_id: &str,
components: &[Item]
) -> Result<ModularWeaponComponentKey, ModularWeaponComponentKeyError>