Module rustc_builtin_macros::deriving
source · Expand description
The compiler code necessary to implement the #[derive] extensions.
Modules§
- bounds 🔒
- clone 🔒
- debug 🔒
- The compiler code necessary for
#[derive(RustcDecodable)]. See encodable.rs for more. - default 🔒
- 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
deriveinstances 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 🔒
Macros§
- path_std 🔒
Structs§
Functions§
- Constructs an expression that calls an intrinsic
- Constructs an expression that calls the
unreachableintrinsic.