pub struct ProgressionXp {Show 16 fields
pub strength: f64,
pub dexterity: f64,
pub intelligence: f64,
pub stamina: f64,
pub vitality: f64,
pub wisdom: f64,
pub charisma: f64,
pub logging: f64,
pub mining: f64,
pub evocation: f64,
pub restoration: f64,
pub swords: f64,
pub archery: f64,
pub crafting: f64,
pub alchemy: f64,
pub cartography: f64,
}Expand description
Fractional XP pools — source of truth for progression curve (plans/27).
Fields§
§strength: f64§dexterity: f64§intelligence: f64§stamina: f64§vitality: f64§wisdom: f64§charisma: f64§logging: f64§mining: f64§evocation: f64§restoration: f64§swords: f64§archery: f64§crafting: f64§alchemy: f64§cartography: f64Implementations§
Trait Implementations§
Source§impl Clone for ProgressionXp
impl Clone for ProgressionXp
Source§fn clone(&self) -> ProgressionXp
fn clone(&self) -> ProgressionXp
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProgressionXp
impl Debug for ProgressionXp
Source§impl Default for ProgressionXp
impl Default for ProgressionXp
Source§fn default() -> ProgressionXp
fn default() -> ProgressionXp
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProgressionXpwhere
ProgressionXp: Default,
impl<'de> Deserialize<'de> for ProgressionXpwhere
ProgressionXp: Default,
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 ProgressionXp
impl PartialEq for ProgressionXp
Source§impl Serialize for ProgressionXp
impl Serialize for ProgressionXp
impl StructuralPartialEq for ProgressionXp
Auto Trait Implementations§
impl Freeze for ProgressionXp
impl RefUnwindSafe for ProgressionXp
impl Send for ProgressionXp
impl Sync for ProgressionXp
impl Unpin for ProgressionXp
impl UnsafeUnpin for ProgressionXp
impl UnwindSafe for ProgressionXp
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