Trait Card
mtgtypes
pub trait Card { fn name(&self) -> String; fn mana_cost(&self) -> Option<ManaCost>; fn illustration(&self) -> Option<String>; fn color_indicator(&self) -> Option<ColorIndicator>; fn type_line(&self) -> TypeLine; }
fn name(&self) -> String
fn mana_cost(&self) -> Option<ManaCost>
fn illustration(&self) -> Option<String>
fn color_indicator(&self) -> Option<ColorIndicator>
fn type_line(&self) -> TypeLine