mirror of
https://github.com/Steffo99/patched-porobot.git
synced 2024-12-23 01:54: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.
|
/// A region to which cards can belong to.
|
||||||
|
#[non_exhaustive]
|
||||||
#[derive(serde::Serialize, serde::Deserialize, Clone, Debug)]
|
#[derive(serde::Serialize, serde::Deserialize, Clone, Debug)]
|
||||||
pub enum CardRegion {
|
pub enum CardRegion {
|
||||||
/// Noxus.
|
/// Noxus.
|
||||||
|
@ -134,6 +135,7 @@ pub struct Asset {
|
||||||
|
|
||||||
|
|
||||||
/// A possible card type.
|
/// A possible card type.
|
||||||
|
#[non_exhaustive]
|
||||||
#[derive(serde::Serialize, serde::Deserialize, Clone, Debug)]
|
#[derive(serde::Serialize, serde::Deserialize, Clone, Debug)]
|
||||||
pub enum CardType {
|
pub enum CardType {
|
||||||
/// A spell.
|
/// A spell.
|
||||||
|
@ -155,6 +157,7 @@ pub enum CardType {
|
||||||
|
|
||||||
|
|
||||||
/// A possible card rarity.
|
/// A possible card rarity.
|
||||||
|
#[non_exhaustive]
|
||||||
#[derive(serde::Serialize, serde::Deserialize, Clone, Debug)]
|
#[derive(serde::Serialize, serde::Deserialize, Clone, Debug)]
|
||||||
pub enum CardRarity {
|
pub enum CardRarity {
|
||||||
/// The card has no rarity, as it probably is not collectible.
|
/// The card has no rarity, as it probably is not collectible.
|
||||||
|
|
Loading…
Reference in a new issue