pub trait Key:
Copy
+ Clone
+ PartialEq
+ Eq
+ Hash
+ Debug {
// Required methods
fn from_parts(index: u32, generation: Generation, map_id: u64) -> Self;
fn index(&self) -> u32;
fn generation(&self) -> Generation;
fn map_id(&self) -> u64;
}Required Methods§
fn from_parts(index: u32, generation: Generation, map_id: u64) -> Self
fn index(&self) -> u32
fn generation(&self) -> Generation
fn map_id(&self) -> u64
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.