Function physis::equipment::get_slot_from_id
source ยท pub fn get_slot_from_id(id: i32) -> Option<Slot>
Expand description
Determines the correct slot from an id. This can fail, so a None is returned when no slot matches that id.