pub enum Normal {
Alchemist,
Archer,
Elemental,
Knight,
Monk,
Priest,
Soldier,
Ranger,
Valkyrie,
}
Variants§
Alchemist
Full of concotions to both heal and harm.
Archer
Aw, shoot you are good!
Elemental
Devoted to studying the elements and harnessing their powers
Knight
Generally this is the good guy in the story…
Monk
Devoted to reading really old books and figuring out really old combinations of substances
Priest
Into life magic, which overcomes death magic
Soldier
This is the default, because a lot of RPG games involve the Soldier
in a dungeon being an enemy for whatever reason…
Ranger
Incredibly stealthy, this rounded character can survive any environment
Valkyrie
The elite female warriors from the deepest coldest winters
Trait Implementations§
Source§impl<T: Copy + Default + Debug + AddAssign + Add<Output = T> + Div<Output = T> + DivAssign + Mul<Output = T> + MulAssign + Neg<Output = T> + Rem<Output = T> + RemAssign + Sub<Output = T> + SubAssign + PartialOrd + NumCast> Builder<T> for Normal
impl<T: Copy + Default + Debug + AddAssign + Add<Output = T> + Div<Output = T> + DivAssign + Mul<Output = T> + MulAssign + Neg<Output = T> + Rem<Output = T> + RemAssign + Sub<Output = T> + SubAssign + PartialOrd + NumCast> Builder<T> for Normal
Source§fn build_basic(&self, id: T, level: T) -> BasicStats<T>
fn build_basic(&self, id: T, level: T) -> BasicStats<T>
Build a Basic
stat
fn build_normal(&self, id: T, level: T) -> NormalStats<T>
fn build_advanced(&self, id: T, level: T) -> AdvancedStats<T>
Source§impl<'de> Deserialize<'de> for Normal
impl<'de> Deserialize<'de> for Normal
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
impl Copy for Normal
impl StructuralPartialEq for Normal
Auto Trait Implementations§
impl Freeze for Normal
impl RefUnwindSafe for Normal
impl Send for Normal
impl Sync for Normal
impl Unpin for Normal
impl UnwindSafe for Normal
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