(&mut self)
| 80 | /// Can only decode `self.populate(_, length)` items. |
| 81 | #[inline(always)] |
| 82 | fn decode(&mut self) -> T { |
| 83 | let mut out = MaybeUninit::uninit(); |
| 84 | self.decode_in_place(&mut out); |
| 85 | unsafe { out.assume_init() } |
| 86 | } |
| 87 | |
| 88 | /// [`Self::decode`] without redundant copies. Only downside is panics will leak the value. |
| 89 | /// The only panics out of our control are Hash/Ord/PartialEq for BinaryHeap/BTreeMap/HashMap. |
no test coverage detected