pub trait PositionKey:
Clone
+ Eq
+ Hash
+ Send
+ Sync { }Available on crate feature
runtime only.Expand description
A key a position map can hold — stated once, so the loop’s bound reads as one word.
It is the intersection of what the two implementations here need and nothing wider: hashed and
compared because a position is looked up by track, cloned because reading one hands out a copy,
and Send + Sync because a resident is a task.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".