pub struct SkillLocations { /* private fields */ }Expand description
Skill locations manager
Implementations§
Source§impl SkillLocations
impl SkillLocations
Sourcepub fn get_location_types(&self) -> Vec<SkillLocationType>
pub fn get_location_types(&self) -> Vec<SkillLocationType>
Get all location types in precedence order
Sourcepub fn get_location(
&self,
location_type: SkillLocationType,
) -> Option<&SkillLocation>
pub fn get_location( &self, location_type: SkillLocationType, ) -> Option<&SkillLocation>
Get location by type
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SkillLocations
impl RefUnwindSafe for SkillLocations
impl Send for SkillLocations
impl Sync for SkillLocations
impl Unpin for SkillLocations
impl UnsafeUnpin for SkillLocations
impl UnwindSafe for SkillLocations
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more