valuable icon indicating copy to clipboard operation
valuable copied to clipboard

derive: implement #[valuable] attributes

Open taiki-e opened this issue 3 years ago • 2 comments

The first step for #51.

  • #[valuable(rename = "...")]
  • #[valuable(transparent)]
  • #[valuable(skip)]

~~(This commit was created about 5 months ago. However, I didn't open the PR at the time because something was missing, but I don't remember what it is anymore, so I'll open the PR as a draft anyway.)~~

taiki-e avatar Nov 23 '21 07:11 taiki-e

Would love to see this getting added!

rwestphal avatar Jul 18 '22 19:07 rwestphal

Any news on this?

fosskers avatar Jul 03 '24 01:07 fosskers

Hey, I'm not sure why this pr stalled out, but I really like the functionality and the way you've written it. I am going to try to push it forward. I added a new pr that duplicates the work you did here (and rightly attributes authorship to you). My pr also includes a macro attribute for formatting a field for including a simplified version of a field when the field's type doesn't implement Valuable. Thanks for your work here! I hope we can get it included in the actual codebase.

johnhurt avatar Aug 23 '24 14:08 johnhurt