pub enum Attribute {
Charisma,
Constitution,
Defense,
Dexterity,
Intelligence,
Luck,
Perception,
Strength,
Willpower,
Wisdom,
}
Expand description
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 Eq for Attribute
impl StructuralPartialEq for Attribute
Auto Trait Implementations§
impl Freeze for Attribute
impl RefUnwindSafe for Attribute
impl Send for Attribute
impl Sync for Attribute
impl Unpin for Attribute
impl UnwindSafe for Attribute
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)