(&self)
| 109 | impl<BS: BlockSizes, K: BufferKind> Clone for BlockBuffer<BS, K> { |
| 110 | #[inline] |
| 111 | fn clone(&self) -> Self { |
| 112 | // SAFETY: `BlockBuffer` does not implement `Drop` (i.e. it could be a `Copy` type), |
| 113 | // so we can safely clone it using `ptr::read`. |
| 114 | unsafe { ptr::read(self) } |
| 115 | } |
| 116 | } |
| 117 | |
| 118 | impl<BS: BlockSizes, K: BufferKind> fmt::Debug for BlockBuffer<BS, K> { |
no outgoing calls