Struct data::skill::Requirements
source · pub struct Requirements {
pub agility: u32,
pub intelligence: u32,
pub level: u32,
pub attack: u32,
pub defense: u32,
pub mp: u32,
pub hp: u32,
}
Expand description
Stat requirement for a skill to be learnt
Fields§
§agility: u32
§intelligence: u32
§level: u32
§attack: u32
§defense: u32
§mp: u32
§hp: u32
Trait Implementations§
source§impl Clone for Requirements
impl Clone for Requirements
source§fn clone(&self) -> Requirements
fn clone(&self) -> Requirements
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for Requirements
impl Default for Requirements
source§fn default() -> Requirements
fn default() -> Requirements
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for Requirements
impl Send for Requirements
impl Sync for Requirements
impl Unpin for Requirements
impl UnwindSafe for Requirements
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