Module rustc_builtin_macros::deriving
source ยท Expand description
The compiler code necessary to implement the #[derive]
extensions.
Modulesยง
- bounds ๐
- clone ๐
- 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)]
(andRustcDecodable
, indecodable.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 ๐ - smart_
ptr ๐
Macrosยง
- path_
local ๐ - path_
std ๐ - pathvec_
std ๐
Structsยง
- Builtin
Derive ๐
Functionsยง
- assert_
ty_ ๐bounds - call_
intrinsic ๐Constructs an expression that calls an intrinsic - call_
unreachable ๐Constructs an expression that calls theunreachable
intrinsic.
Type Aliasesยง
- Builtin
Derive ๐Fn