Skip to content

Support EPs with type parameters #22

@cscherrNT

Description

@cscherrNT

Mockup:

extension_point!(
    GreeterExtension:
    GreeterTrait;
    type Thing: Display;
    fn greet(&self, name: Self::Thing) -> String;
);

This is already almost supported (the macro needs to be adjusted) and would be an alternative for #4 in at least some cases.

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