pub enum NumProperty {
Show 16 variants
Power,
Toughness,
PowTou,
Loyalty,
Cmc,
ArtistCount,
Usd,
UsdFoil,
Eur,
Tix,
IllustrationCount,
PrintCount,
SetCount,
PaperPrintCount,
PaperSetCount,
Year,
}
Expand description
These properties can be compared against one another.
For example power(gt(NumericProperty::Toughness)
.
Variants§
Power
The card’s power. Only creature cards have this.
Toughness
The card’s toughness. Only creature cards have this.
PowTou
The card’s power plus its toughness. Only creatures cards have this.
Loyalty
The card’s starting loyalty. Only planeswalker cards have this.
The value ‘0’ will match non-numeric loyalties such as ‘X’.
Cmc
The card’s converted mana cost. Cards without a mana cost have a converted mana cost of ‘0’.
ArtistCount
The number of artists who contributed to this printing of the card.
Note: This is not the same as the number of unique artists for a particular card.
Usd
This card’s current nonfoil market price in US Dollars.
UsdFoil
This card’s current foil market price in US Dollars.
Eur
This card’s current market price in Euros.
Tix
This card’s current market price in MTGO Tickets.
IllustrationCount
The number of different illustrations among prints of this card.
PrintCount
The number of different prints of this card, including both paper and digital-exclusive sets.
SetCount
The number of different sets this card has appeared in, including both paper and digital-exclusive sets.
PaperPrintCount
The number of different prints of this card in paper.
PaperSetCount
The number of different sets this card has appeared in, paper only.
Year
The release year of this printing.
Trait Implementations§
source§impl Clone for NumProperty
impl Clone for NumProperty
source§fn clone(&self) -> NumProperty
fn clone(&self) -> NumProperty
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for NumProperty
impl Debug for NumProperty
source§impl Display for NumProperty
impl Display for NumProperty
source§impl Hash for NumProperty
impl Hash for NumProperty
source§impl ParamValue for NumProperty
impl ParamValue for NumProperty
source§impl PartialEq for NumProperty
impl PartialEq for NumProperty
source§fn eq(&self, other: &NumProperty) -> bool
fn eq(&self, other: &NumProperty) -> bool
self
and other
values to be equal, and is used
by ==
.impl Copy for NumProperty
impl Eq for NumProperty
impl NumericComparableValue for NumProperty
impl StructuralPartialEq for NumProperty
Auto Trait Implementations§
impl Freeze for NumProperty
impl RefUnwindSafe for NumProperty
impl Send for NumProperty
impl Sync for NumProperty
impl Unpin for NumProperty
impl UnwindSafe for NumProperty
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.