pub trait StatType<T> {
type Bound: StatBound<T>;
const STAT: Stat;
}
Expand description
StatType
define the bound of a given statistic. (e.g. Max
is an upper bound),
this is used to extract the bound from a Precision
value, (e.g. p::bound<Max>()
).
Required Associated Constants§
Required Associated Types§
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.