Skip to content

Specify derives for generated collection #3

@dmfutcher

Description

@dmfutcher

It would often be useful for the generated collection to have derives such as Debug or Clone. However, this is moderately complicated by the fact that not all item types are guaranteed to have Debug etc.

Defaulting to shadowing the Item type's derives (obviously minus WrappedVec!) and having a parameter to override with a specific list of traits to derive should be a good solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions