Module deriving

Source
Expand description

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

Modulesยง

bounds ๐Ÿ”’
clone ๐Ÿ”’
coerce_pointee ๐Ÿ”’
debug ๐Ÿ”’
decodable ๐Ÿ”’
The compiler code necessary for #[derive(RustcDecodable)]. See encodable.rs for more.
default ๐Ÿ”’
encodable ๐Ÿ”’
The compiler code necessary to implement the #[derive(RustcEncodable)] (and RustcDecodable, in decodable.rs) extension. The idea here is that type-defining items may be tagged with #[derive(RustcEncodable, RustcDecodable)].
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 ๐Ÿ”’