rustc_
type_
ir
1.84.0-beta.4
(202008a1b 2024-12-07)
Module codec
Module Items
Constants
Traits
In crate rustc_
type_
ir
rustc_type_ir
Module
codec
Copy item path
Source
Constants
§
SHORTHAND_
OFFSET
The shorthand encoding uses an enum’s variant index
usize
and is offset by this value so it never matches a real variant. This offset is also chosen so that the first byte is never < 0x80.
Traits
§
RefDecodable
Trait for decoding to a reference.
TyDecoder
TyEncoder