Enum pokelab::pokemon::eevee::ElementalStone
source · #[non_exhaustive]pub enum ElementalStone {
HydroStone,
PyroStone,
MossyStone,
DullRock,
}
Expand description
These stones are used to evolve an Eevee
into an EvolvedEevee
.
Don’t worry too much about the #[non_exhaustive]
attribute.
It’s basically a way of saying that
there could be more variants of ElementalStone
added in the future.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
HydroStone
PyroStone
MossyStone
DullRock
Placeholder for future stones we might want to add for new evolutions!
Auto Trait Implementations§
impl RefUnwindSafe for ElementalStone
impl Send for ElementalStone
impl Sync for ElementalStone
impl Unpin for ElementalStone
impl UnwindSafe for ElementalStone
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