Skip to content

Support specializing on trait #3

@kangalio

Description

@kangalio

Auto-deref specialization can also be used to specialize on trait implementations. I'm using this a lot in a lib (1, 2, 3) and it would be awesome to abstract it away into a crate like castaway.

Here's a small proof of concept macro link (only supports matching on type directly so far)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions