Module derive

Module derive 

Source

Structsยง

Context ๐Ÿ”’
GenerateTokens ๐Ÿ”’
OriginalType ๐Ÿ”’
ProjectedFields ๐Ÿ”’
ProjectedType ๐Ÿ”’
ProjectedVariants ๐Ÿ”’

Enumsยง

TypeKind ๐Ÿ”’

Functionsยง

ensure_not_packed ๐Ÿ”’
Checks that the [repr(packed)] attribute is not included.
global_allowed_lints ๐Ÿ”’
Returns attributes that should be applied to all generated code.
make_drop_impl ๐Ÿ”’
Creates Drop implementation for the original type.
make_proj_impl ๐Ÿ”’
Creates an implementation of the projection methods.
make_unpin_impl ๐Ÿ”’
Creates Unpin implementation for the original type.
parse_derive ๐Ÿ”’
parse_enum ๐Ÿ”’
parse_struct ๐Ÿ”’
proj_allowed_lints ๐Ÿ”’
Returns attributes used on projected types.
proj_own_body ๐Ÿ”’
Generates the processing that project_replace does for the struct or each variant.
validate_enum ๐Ÿ”’
validate_struct ๐Ÿ”’
visit_fields ๐Ÿ”’
visit_variants ๐Ÿ”’