pub trait IntElement: KernelDtype + Sealed { }Expand description
Integer element types supported by the int-GEMM kernel set.
Sibling trait to Element (the float family) — kept separate
because the kernel-level dispatch, accumulator type (int32 vs f32),
and epilogue family differ enough that mixing them through a single
trait would smear the type signatures of integer plans.
Sealed to prevent downstream impls — adding a new int dtype
requires shipping new kernel instantiations.
KIND is inherited from the KernelDtype supertrait. Pre-Phase-28
code using <T as IntElement>::KIND must update to plain T::KIND
or <T as KernelDtype>::KIND.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".