pub struct SkillRegistry { /* private fields */ }Expand description
Registry for managing skills
Implementations§
Source§impl SkillRegistry
impl SkillRegistry
Sourcepub fn unregister(&mut self, name: &str) -> Option<Skill>
pub fn unregister(&mut self, name: &str) -> Option<Skill>
Remove a skill
Trait Implementations§
Source§impl Debug for SkillRegistry
impl Debug for SkillRegistry
Source§impl Default for SkillRegistry
impl Default for SkillRegistry
Source§fn default() -> SkillRegistry
fn default() -> SkillRegistry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SkillRegistry
impl RefUnwindSafe for SkillRegistry
impl Send for SkillRegistry
impl Sync for SkillRegistry
impl Unpin for SkillRegistry
impl UnsafeUnpin for SkillRegistry
impl UnwindSafe for SkillRegistry
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