Crate rustc_transmute
rustc_
transmute
1.94.0-beta.3
(2e10913d4 2026-02-12)
All Items
Crate Items
Modules
Structs
Enums
Crate
rustc_
transmute
Copy item path
Source
Modules
§
layout
maybe_
transmutable
🔒
rustc
🔒
Structs
§
Assume
Transmute
Type
Env
Enums
§
Answer
Either transmutation is allowed, we have an error, or we have an optional Condition that must hold.
Condition
A condition which must hold for safe transmutation to be possible.
Reason
Answers “why wasn’t the source type transmutable into the destination type?”