pub trait StatisticsType: Copy + Default {
const STATISTICS: Statistics;
}Expand description
Statistics type trait for compile-time type-level distinction
§Safety
Types implementing this trait must be zero-sized types (ZST) used only as
compile-time markers. The Default bound ensures safe instantiation.
Required Associated Constants§
const STATISTICS: Statistics
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.