#tuple #semantics #structs #give

newtype

Custom Derive to give tuple structs newtype semantics

4 releases

0.2.1 May 23, 2019
0.2.0 May 23, 2019
0.1.2 May 19, 2019
0.1.1 May 7, 2019
0.1.0 May 7, 2019

#2717 in Rust patterns

Download history 18/week @ 2024-08-19 38/week @ 2024-08-26 25/week @ 2024-09-02 23/week @ 2024-09-09 21/week @ 2024-09-16 53/week @ 2024-09-23 32/week @ 2024-09-30 9/week @ 2024-10-07 22/week @ 2024-10-14 15/week @ 2024-10-21 22/week @ 2024-10-28 26/week @ 2024-11-04 7/week @ 2024-11-11 22/week @ 2024-11-18 29/week @ 2024-11-25 19/week @ 2024-12-02

79 downloads per month
Used in 4 crates

MIT/Apache

7KB

NewType semantics for single-field tuple structs.

Dependencies

~2MB
~48K SLoC