#structs #tuple #semantics #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

#2621 in Rust patterns

Download history 17/week @ 2024-03-24 44/week @ 2024-03-31 20/week @ 2024-04-07 26/week @ 2024-04-14 27/week @ 2024-04-21 23/week @ 2024-04-28 29/week @ 2024-05-05 28/week @ 2024-05-12 27/week @ 2024-05-19 19/week @ 2024-05-26 19/week @ 2024-06-02 21/week @ 2024-06-09 27/week @ 2024-06-16 22/week @ 2024-06-23 4/week @ 2024-06-30 22/week @ 2024-07-07

78 downloads per month
Used in 4 crates

MIT/Apache

7KB

NewType semantics for single-field tuple structs.

Dependencies

~2MB
~46K SLoC