mirror of
https://github.com/Steffo99/patched-porobot.git
synced 2024-12-22 17:44:22 +00:00
Wait no non_exaustive
was correct there
This commit is contained in:
parent
4ea1dbc7d6
commit
bbd01ffdc2
1 changed files with 3 additions and 0 deletions
|
@ -85,6 +85,7 @@ impl Card {
|
|||
|
||||
|
||||
/// A region to which cards can belong to.
|
||||
#[non_exhaustive]
|
||||
#[derive(serde::Serialize, serde::Deserialize, Clone, Debug)]
|
||||
pub enum CardRegion {
|
||||
/// Noxus.
|
||||
|
@ -134,6 +135,7 @@ pub struct Asset {
|
|||
|
||||
|
||||
/// A possible card type.
|
||||
#[non_exhaustive]
|
||||
#[derive(serde::Serialize, serde::Deserialize, Clone, Debug)]
|
||||
pub enum CardType {
|
||||
/// A spell.
|
||||
|
@ -155,6 +157,7 @@ pub enum CardType {
|
|||
|
||||
|
||||
/// A possible card rarity.
|
||||
#[non_exhaustive]
|
||||
#[derive(serde::Serialize, serde::Deserialize, Clone, Debug)]
|
||||
pub enum CardRarity {
|
||||
/// The card has no rarity, as it probably is not collectible.
|
||||
|
|
Loading…
Reference in a new issue