core::raw - Rust
Description: Contains struct definitions for the layout of compiler built-in types.
Keywords: rust, rustlang, rust-lang, raw

# Module core::raw
[−][src]

👎 Deprecated since 1.53.0:

use pointer metadata APIs instead https://github.com/rust-lang/rust/issues/81513

🔬 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`.

## Structs

TraitObject | DeprecatedExperimental The representation of a trait object like `&dyn SomeTrait`.