Skip to content

Impl Deref<Target = str> for yew::virtual_dom::Key #1369

@faulesocke

Description

@faulesocke

Describe the feature you'd like
Please impl Deref<Target = str> for yew::virtual_dom::Key. This would allow code like the following:

some_function(&key)

instead of

some_function(&key.to_string())

Questionnaire

  • I'm interested in implementing this myself but don't know where to start
  • I would like to add this feature
  • I don't have time to add this right now, but maybe later

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions