rustc_
trait_
selection
1.84.0-nightly
(5ec7d6eee 2024-11-17)
Module codec
Module Items
Constants
Traits
In rustc_
trait_
selection::
infer::
canonical::
ir
rustc_trait_selection
::
infer
::
canonical
::
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