Expand description
Miscellaneous type-system utilities that are too small to deserve their own modules.
Enums§
Functions§
- all_
fields_ implement_ trait - Check that all fields of a given
adt
implementlang_item
trait. - type_
allowed_ to_ implement_ const_ param_ ty - Checks that the fields of the type (an ADT) all implement
(Unsized?)ConstParamTy
. - type_
allowed_ to_ implement_ copy - Checks that the fields of the type (an ADT) all implement copy.