Module rustc_middle::ty::codec[][src]

Macros

Constants

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

Trait for decoding to a reference.

Functions

Encode the given value or a previously cached shorthand.