numid
This crate provide the numid!
macro for generating structures which behave like numerical id.
Example
#
# extern crate numid;
numid!
Usage
Add this to your Cargo.toml
:
[]
= "0.1.2"
and this to your crate root:
extern crate numid;
Features
This crate can be used without the standard library (#![no_std]
) by disabling the default std
feature.
The only functionnality disabled if std
is disabled is the implementation of the Display
trait.