pub unsafe trait BikeshedIntrinsicFrom<Src, Context, const ASSUME_ALIGNMENT: bool, const ASSUME_LIFETIMES: bool, const ASSUME_VALIDITY: bool, const ASSUME_VISIBILITY: bool> where
    Src: ?Sized
{ }
🔬 This is a nightly-only experimental API. (transmutability #99571)
Expand description

Are values of a type transmutable into values of another type?

This trait is implemented on-the-fly by the compiler for types Src and Self when the bits of any value of type Self are safely transmutable into a value of type Dst, in a given Context, notwithstanding whatever safety checks you have asked the compiler to Assume are satisfied.

Implementors