mirror of
https://github.com/Steffo99/patched-porobot.git
synced 2024-12-23 10:04:21 +00:00
Document the CardSet::from::<u32>
changes
This commit is contained in:
parent
8978ccd82e
commit
6c63d36ca3
1 changed files with 2 additions and 0 deletions
|
@ -94,6 +94,8 @@ impl CardSet {
|
||||||
|
|
||||||
/// Get the [`CardSet`] from its internal id.
|
/// Get the [`CardSet`] from its internal id.
|
||||||
///
|
///
|
||||||
|
/// [`CardSet::Worldwalker`] and [`CardSet::TheDarkinSaga`] share the same id, so a variant cannot be determined.
|
||||||
|
///
|
||||||
/// [`CardSet::Events`] cards have the id of the set they were released in, so it is impossible to determine if a card belongs to that set from its id.
|
/// [`CardSet::Events`] cards have the id of the set they were released in, so it is impossible to determine if a card belongs to that set from its id.
|
||||||
impl From<u32> for CardSet {
|
impl From<u32> for CardSet {
|
||||||
fn from(value: u32) -> Self {
|
fn from(value: u32) -> Self {
|
||||||
|
|
Loading…
Reference in a new issue