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ยง
- 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 ๐