Crate ident [] [src]

A crate for creating and using types with an immutable identifier field.

Author --- daniel.bechaz@gmail.com
Last Moddified --- 2018/02/13

The main type provided by this crate is WithIdent.

Macros

impl_hash_identity

A hash is often a useful and convenient identifier value.

impl_identity

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

Structs

WithIdent

WithIdent wraps any value of type T and a unique identifier of type I.

Traits

DeriveIdent

Derives an identifier from a value.

IdentCollection

The IdentCollection trait provides functionality for collections working with WithIdent values.