pub trait ComponentId:
Debug
+ Copy
+ Eq
+ Ord
+ Hash
+ Send
+ Sync {
// Required methods
fn from_raw(raw: (usize, NonZero<usize>)) -> Self;
fn into_raw(self) -> (usize, NonZero<usize>);
}Expand description
An implementer of the ComponentId trait is a type behaves as
Id.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".