Trait CoercePointeeValidated

Source
#[doc(hidden)] pub trait CoercePointeeValidated { }
🔬This is a nightly-only experimental API. (coerce_pointee_validated)
Expand description

A trait that is implemented for ADTs with derive(CoercePointee) so that the compiler can enforce the derive impls are valid post-expansion, since the derive has stricter requirements than if the impls were written by hand.

This trait is not intended to be implemented by users or used other than validation, so it should never be stabilized.

Implementors§