type erasure

Also known as: type erased, type-erased

Type erasure hides a value's concrete type behind a common interface, such as a boxed trait object, which simplifies APIs and can reduce compile times.

See the Rust book.