pub enum AttributeId {
Show 16 variants
Strength,
Energy,
Dexterity,
Vitality,
StatPoints,
NewSkills,
Hitpoints,
MaxHp,
Mana,
MaxMana,
Stamina,
MaxStamina,
Level,
Experience,
Gold,
GoldBank,
}Expand description
Typed identifier for supported attributes/stats in the save format.
Variants§
Strength
Energy
Dexterity
Vitality
StatPoints
NewSkills
Hitpoints
MaxHp
Mana
MaxMana
Stamina
MaxStamina
Level
Experience
Gold
GoldBank
Implementations§
Trait Implementations§
Source§impl Clone for AttributeId
impl Clone for AttributeId
Source§fn clone(&self) -> AttributeId
fn clone(&self) -> AttributeId
Returns a duplicate 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 Debug for AttributeId
impl Debug for AttributeId
Source§impl<'de> Deserialize<'de> for AttributeId
impl<'de> Deserialize<'de> for AttributeId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AttributeId
impl PartialEq for AttributeId
Source§impl Serialize for AttributeId
impl Serialize for AttributeId
impl Copy for AttributeId
impl Eq for AttributeId
impl StructuralPartialEq for AttributeId
Auto Trait Implementations§
impl Freeze for AttributeId
impl RefUnwindSafe for AttributeId
impl Send for AttributeId
impl Sync for AttributeId
impl Unpin for AttributeId
impl UnsafeUnpin for AttributeId
impl UnwindSafe for AttributeId
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