1
 2
 3
 4
 5
 6
 7
 8
 9
10
extern crate syn;
extern crate quote;

/// A strong type for type id.
pub struct TypeId(pub u64);

pub trait SequentialTypeId {
    /// Provides sequential type id number.
    fn id() -> TypeId;
}