1
Fork 0
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:
Steffo 2022-08-02 10:44:14 +02:00
parent 4ea1dbc7d6
commit bbd01ffdc2
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -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.