Skip to main content

ErasedType

Trait ErasedType 

Source
pub trait ErasedType: Sealed { }
Expand description

Object-safe type erasure implemented for every DowncastType.

This trait is sealed so erased pointers can only be produced by the blanket implementation below.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§