Crate rustc_transmute
rustc_
transmute
1.94.0-nightly
(2f1bd3f37 2026-01-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?”