|
|
|
@ -101,3 +101,4 @@ Here, `Bar` might be some public, generic type and `T1` and `T2` are some intern
|
|
|
|
|
- [Newtypes in Haskell](https://wiki.haskell.org/Newtype)
|
|
|
|
|
- [Type aliases](https://doc.rust-lang.org/stable/book/ch19-04-advanced-types.html#creating-type-synonyms-with-type-aliases)
|
|
|
|
|
- [derive_more](https://crates.io/crates/derive_more), a crate for deriving many builtin traits on newtypes.
|
|
|
|
|
- [The Newtype Pattern In Rust](https://www.worthe-it.co.za/blog/2020-10-31-newtype-pattern-in-rust.html)
|
|
|
|
|