(&self)
| 53 | |
| 54 | impl<K> Clone for Index<K> { |
| 55 | fn clone(&self) -> Self { |
| 56 | match self { |
| 57 | Index::Full(index) => Index::Full(index.clone()), |
| 58 | Index::Partial(index) => Index::Partial(index.clone()), |
| 59 | } |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | impl<K: Copy + Eq + Hash + Into<usize> + From<usize> + Send + Sync> FromIterator<K> for Index<K> { |
no outgoing calls