Macro ident::impl_identity[][src]

macro_rules! impl_identity {
    ($type:ty) => { ... };
    ($type:tt $($t:tt)*) => { ... };
}

In some cases, such as integer types, a value is its own unique identifier.

This macro implements DeriveIdent for the passed type to simply return itself. (NOTE: the type must derive Clone)