pub enum Card {
Character(CharacterCard),
Action(ActionCard),
}Expand description
Represents any card in Genius Invokation TCG
Variants§
Character(CharacterCard)
Action(ActionCard)
Implementations§
Trait Implementations§
Source§impl From<ActionCard> for Card
impl From<ActionCard> for Card
Source§fn from(value: ActionCard) -> Card
fn from(value: ActionCard) -> Card
Converts to this type from the input type.
Source§impl From<ArtifactCard> for Card
impl From<ArtifactCard> for Card
Source§fn from(value: ArtifactCard) -> Card
fn from(value: ArtifactCard) -> Card
Converts to this type from the input type.
Source§impl From<CharacterCard> for Card
impl From<CharacterCard> for Card
Source§fn from(card: CharacterCard) -> Card
fn from(card: CharacterCard) -> Card
Converts to this type from the input type.
Source§impl From<CompanionCard> for Card
impl From<CompanionCard> for Card
Source§fn from(value: CompanionCard) -> Card
fn from(value: CompanionCard) -> Card
Converts to this type from the input type.
Source§impl From<ElementalResonanceCard> for Card
impl From<ElementalResonanceCard> for Card
Source§fn from(value: ElementalResonanceCard) -> Card
fn from(value: ElementalResonanceCard) -> Card
Converts to this type from the input type.
Source§impl From<EquipmentCard> for Card
impl From<EquipmentCard> for Card
Source§fn from(value: EquipmentCard) -> Card
fn from(value: EquipmentCard) -> Card
Converts to this type from the input type.
Source§impl From<LocationCard> for Card
impl From<LocationCard> for Card
Source§fn from(value: LocationCard) -> Card
fn from(value: LocationCard) -> Card
Converts to this type from the input type.
Source§impl From<NormalEventCard> for Card
impl From<NormalEventCard> for Card
Source§fn from(value: NormalEventCard) -> Card
fn from(value: NormalEventCard) -> Card
Converts to this type from the input type.
Source§impl From<SupportCard> for Card
impl From<SupportCard> for Card
Source§fn from(value: SupportCard) -> Card
fn from(value: SupportCard) -> Card
Converts to this type from the input type.
Source§impl From<TalentCard> for Card
impl From<TalentCard> for Card
Source§fn from(value: TalentCard) -> Card
fn from(value: TalentCard) -> Card
Converts to this type from the input type.
Source§impl From<WeaponCard> for Card
impl From<WeaponCard> for Card
Source§fn from(value: WeaponCard) -> Card
fn from(value: WeaponCard) -> Card
Converts to this type from the input type.
impl Copy for Card
impl Eq for Card
impl StructuralPartialEq for Card
Auto Trait Implementations§
impl Freeze for Card
impl RefUnwindSafe for Card
impl Send for Card
impl Sync for Card
impl Unpin for Card
impl UnwindSafe for Card
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