pub enum CardProperty {
BasePower {},
BasePowerAndToughness {},
BaseToughness {},
Color {},
ManaValue {},
Name {},
Power {},
Tougness {},
}Variants§
Trait Implementations§
Source§impl Clone for CardProperty
impl Clone for CardProperty
Source§fn clone(&self) -> CardProperty
fn clone(&self) -> CardProperty
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CardProperty
impl Debug for CardProperty
Source§impl<'de> Deserialize<'de> for CardProperty
impl<'de> Deserialize<'de> for CardProperty
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for CardProperty
impl Display for CardProperty
Source§impl Hash for CardProperty
impl Hash for CardProperty
Source§impl Idris for CardProperty
impl Idris for CardProperty
Source§impl IntoToken for CardProperty
Available on crate feature lexer only.
impl IntoToken for CardProperty
Available on crate feature
lexer only.fn try_from_span(span: &Span<'_>) -> Option<Self>
Source§impl Ord for CardProperty
impl Ord for CardProperty
Source§fn cmp(&self, other: &CardProperty) -> Ordering
fn cmp(&self, other: &CardProperty) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CardProperty
impl PartialEq for CardProperty
Source§impl PartialOrd for CardProperty
impl PartialOrd for CardProperty
Source§impl Serialize for CardProperty
impl Serialize for CardProperty
impl Copy for CardProperty
impl Eq for CardProperty
impl StructuralPartialEq for CardProperty
Auto Trait Implementations§
impl Freeze for CardProperty
impl RefUnwindSafe for CardProperty
impl Send for CardProperty
impl Sync for CardProperty
impl Unpin for CardProperty
impl UnwindSafe for CardProperty
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
Mutably borrows from an owned value. Read more