std::raw - Rust
Description: API documentation for the Rust `raw` mod in crate `std`.
Keywords: rust, rustlang, rust-lang, raw

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

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

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 | Experimental The representation of a trait object like `&dyn SomeTrait`.