Skip to main content

Module derive_macro

Module derive_macro 

Source
Expand description

Builtin derives.

MacrosΒ§

register_builtin πŸ”’

StructsΒ§

AdtParam πŸ”’
BasicAdtInfo πŸ”’

EnumsΒ§

AdtShape πŸ”’
BuiltinDeriveExpander
VariantShape πŸ”’

FunctionsΒ§

and_and πŸ”’
This function exists since quote! {span => && } doesn’t work.
clone_expand πŸ”’
coerce_pointee_expand πŸ”’
copy_expand πŸ”’
debug_expand πŸ”’
default_expand πŸ”’
eq_expand πŸ”’
expand_simple_derive πŸ”’
Given that we are deriving a trait DerivedTrait for a type like:
expand_simple_derive_with_parsed πŸ”’
fat_arrow πŸ”’
This function exists since quote! {span => => } doesn’t work.
find_builtin_derive
hash_expand πŸ”’
name_to_token πŸ”’
ord_expand πŸ”’
parse_adt πŸ”’
parse_adt_from_syntax πŸ”’
partial_eq_expand πŸ”’
partial_ord_expand πŸ”’
self_and_other_patterns πŸ”’
to_adt_syntax πŸ”’
tuple_field_iterator πŸ”’