pub struct Skill {
pub name: String,
pub requirements: Requirements,
pub upgrade_from: Option<String>,
pub upgrade_to: Option<String>,
pub combine_from: Vec<String>,
}
Expand description
A skill
Fields§
§name: String
Name of the skill
requirements: Requirements
Stats requirements of the skill
upgrade_from: Option<String>
§upgrade_to: Option<String>
§combine_from: Vec<String>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Skill
impl Send for Skill
impl Sync for Skill
impl Unpin for Skill
impl UnwindSafe for Skill
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