Expand description
Miscellaneous type-system utilities that are too small to deserve their own modules.
Structsยง
- Opaque
Type ๐Expander
Enumsยง
- Indicates the form of
AsyncDestruct::Destructor
. Used to simplify async drop glue for types not using async drop. - Used as an input to
TyCtxt::uses_unique_generic_params
.
Traitsยง
Functionsยง
- Does the equivalent of
- Determines whether an item is an intrinsic (which may be via Abi or via the
rustc_intrinsic
attribute). - is_
doc_ ๐hidden Determines whether an item is directly annotated withdoc(hidden)
. - Determines whether an item is annotated with
doc(notable_trait)
. - Returns a list of types such that the given type needs drop if and only if any of the returned types need drop. Returns
Err(AlwaysRequiresDrop)
if this type always needs drop. - Returns a list of types such that the given type needs drop if and only if any of the returned types need drop. Returns
Err(AlwaysRequiresDrop)
if this type always needs drop. - Reveals all opaque types in the given value, replacing them with their underlying types.