Trait firecore_pokedex::Identifiable
source · [−]pub trait Identifiable {
type Id;
const UNKNOWN: Self::Id;
fn id(&self) -> &Self::Id;
fn name(&self) -> &str;
}
Expand description
A trait that helps identify which value of a type is which.