Skip to content

Re-add `Has*´ shortcuts #937

Description

@Sharktheone

We should re-add the old shortcuts from the Has* traits.

We want them so we better DX. For example instead of needing to write
<<<C as HasCssSystem>::CssSystem> as CssSystem>::Stylesheet we can write ::CssStylesheet`

and in some cases instead of
<<C::CssSystem> as CssSystem>::Stylesheet we can write C::CssStylesheet`

First we should evaluate what we actually need. And what might come additionally.

Afterwards we might consider adding a macro for getting rid of all of this syntactic hell. This could also serve as an alternative to the shortcuts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions