Module core::raw[][src]

👎 Deprecated since 1.53.0:

use pointer metadata APIs instead

🔬 This is a nightly-only experimental API. (raw #27751)
Expand description

Contains struct definitions for the layout of compiler built-in types.

They can be used as targets of transmutes in unsafe code for manipulating the raw representations directly.

Their definition should always match the ABI defined in rustc_middle::ty::layout.



The representation of a trait object like &dyn SomeTrait.