Specialization in Rust is a proposed feature that is already ad-hoc implemented for several standard library functions. Specialization provides a type of polymorphism that is common in other languages such as C++, wherein it is often referred to more generally as "subtype polymorphism".
General specialization is currently available as a nightly only feature in Rust. To enable it we must add "#![feature(specialization)]" to the top of our project files.