Skip to content

Macro to automatically populate Layer trait implementations #143

@nikkolasg

Description

@nikkolasg

Currently we manually insert the implementation for each trait that Layer must implement - instead, we could try to write a macro that looks at all the fields and populate it directly, given all fields must implement the same traits anyway, it's a matter of match self { .. => op(), .. => op(),.. }.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions