Module deriving

Source
Expand description

The compiler code necessary to implement the #[derive] extensions.

Modules§

bounds 🔒
clone 🔒
coerce_pointee 🔒
debug 🔒
default 🔒
eq 🔒
generic 🔒
Some code that abstracts away much of the boilerplate of writing derive instances for traits. Among other things it manages getting access to the fields of the 4 different sorts of structs and enum variants, as well as creating the method and impl ast instances.
hash 🔒
ord 🔒
partial_eq 🔒
partial_ord 🔒

Macros§

path_local 🔒
path_std 🔒
pathvec_std 🔒

Structs§

BuiltinDerive 🔒

Functions§

assert_ty_bounds 🔒
call_intrinsic 🔒
Constructs an expression that calls an intrinsic
call_unreachable 🔒
Constructs an expression that calls the unreachable intrinsic.

Type Aliases§

BuiltinDeriveFn 🔒