[−][src]Trait monstermaker_core::Id
An identified type.
A type can implement this trait to provide an id, possibly defined interally in the type. For example:
use monstermaker_core::Id; struct Foo { id: u16, } impl Id for Foo { fn id(&self) -> u16 { self.id } }