Skip to main content

Erased

Trait Erased 

Source
unsafe trait Erased<'a>: 'a { }
Expand description

Represents a type-erased but identifiable object.

This trait is exclusively implemented by the TaggedOption type.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<'a, I: Type<'a>> Erased<'a> for TaggedOption<'a, I>