Struct game_features::Leveled [−][src]
Expand description
A levelable element. It can be anything: an item, a player, a monster, a skill.
Fields
accumulated_xp: u32
The experience that this has accumulated.
element: T
The inner element that is leveled.
Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for Leveled<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for Leveled<T> where
T: Send,
T: Send,
impl<T> Sync for Leveled<T> where
T: Sync,
T: Sync,
impl<T> Unpin for Leveled<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for Leveled<T> where
T: UnwindSafe,
T: UnwindSafe,