mz_ore::id_genType Alias IdGen
Source pub type IdGen = Gen<u64>;
Expand description
A generator of u64-bit IDs.
struct IdGen {
id: u64,
phantom: PhantomData<u64>,
}
Implementations
Allocates a new identifier of type Id
and advances the generator.
Trait Implementations
Performs copy-assignment from
source
.
Read more
Formats the value using the given formatter.
Read more
Returns the “default value” for a type.
Read more