pub trait TickKey: Copy {
// Required method
fn key(self) -> usize;
}Expand description
Trait for types that can be used as the tick target in ScheduledTick.
Provides a usize key for deduplication (one tick per (BlockPos, key) pair).
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".