aboutsummaryrefslogtreecommitdiffhomepage
path: root/notes/nested_ownership.txt
blob: fe292fbaf40453ad3a77e5c76ac360368b674a8d (plain)
1
2
3
4
5
6
7
8

Nested ownership in private structures
======================================
For example, there might be some data structure D, whose internals needs to
be hidden. But as a data structure, you would also want it to be able to
contain both owned and non-owned data

How to do this?
- One way could be via generics.