kind 1.0.0

Costless typed identifiers backed by UUID, with kind readable in serialized versions
Documentation
1
2
3
4
5
6
7
8
9
10
use super::IdClass;

/// An identifiable is an object which can be refered to with
/// an id (the id may be part, or not, of the object).
///
/// The best way to add this trait to a struct is to
/// use the `kind` derive attribute
pub trait Identifiable {
    fn class() -> IdClass;
}