Enum rpg::character::Attribute
[−]
[src]
pub enum Attribute { Charisma, Constitution, Defense, Dexterity, Intelligence, Luck, Perception, Strength, Willpower, Wisdom, }
A list of all possible attributes
Variants
Charisma
The charisma of a character
Constitution
The constitution of a character
Defense
The defense of a character
Dexterity
The dexterity of a character
Intelligence
The intelligence of a character
Luck
The luck of a character
Perception
The perception of a character
Strength
The strength of a character
Willpower
The willpower of a character
Wisdom
The wisdom of a character
Trait Implementations
impl Clone for Attribute
[src]
fn clone(&self) -> Attribute
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Eq for Attribute
[src]
impl PartialEq for Attribute
[src]
fn eq(&self, __arg_0: &Attribute) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Hash for Attribute
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more