pub trait IndexedValue:
Clone
+ PartialEq
+ Eq
+ Hash {
type Index: Idx;
}
Expand description
Links a type to its index.
Should be automatically implemented by the define_index_type
macro.
Required Associated Types§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.