pub trait UniqueId:
Clone
+ Copy
+ PartialEq
+ Eq
+ Hash {
// Required method
fn new_unique() -> Self;
}
Expand description
Trait implemented for all generated unique ID types.
Required Methods§
sourcefn new_unique() -> Self
fn new_unique() -> Self
New unique ID.
Object Safety§
This trait is not object safe.