(&mut self, snapshot: ScratchSnapshot)
| 44 | |
| 45 | #[inline] |
| 46 | pub(super) fn take<C: FromIterator<T>>(&mut self, snapshot: ScratchSnapshot) -> C { |
| 47 | self.drain_snapshot(snapshot).collect() |
| 48 | } |
| 49 | |
| 50 | #[inline] |
| 51 | pub(super) fn take_thin_vec(&mut self, mut snapshot: ScratchSnapshot) -> ThinVec<T> { |