tui-rs icon indicating copy to clipboard operation
tui-rs copied to clipboard

enum Direction should be Copy

Open mamrhein opened this issue 2 years ago • 0 comments

Problem

enum Direction does not derive Copy. Thus dependend code needs to call clone, which is less efficient.

Solution

Add Copy to the derive traits of Direction.

Alternatives

None

Additional context

None

mamrhein avatar Jun 21 '22 19:06 mamrhein