Skip to main content
Crate rustc_transmute
rustc_
transmute
1.95.0-nightly
(366a1b93e 2026-02-03)
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?”