rustc_
trait_
selection
1.82.0
(f6e511eec 2024-10-15)
Module codec
Constants
Traits
In rustc_
trait_
selection::
infer::
canonical::
ir
Module
rustc_trait_selection
::
infer
::
canonical
::
ir
::
codec
Copy item path
source
·
[
−
]
Constants
§
SHORTHAN
D_
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