(&mut self, pos: usize)
| 102 | /// If `pos` greater or equal to buffer length. |
| 103 | #[inline(always)] |
| 104 | pub fn get(&mut self, pos: usize) -> InOut<'_, '_, T> { |
| 105 | assert!(pos < self.len); |
| 106 | unsafe { |
| 107 | InOut { |
| 108 | in_ptr: self.in_ptr.add(pos), |
| 109 | out_ptr: self.out_ptr.add(pos), |
| 110 | _pd: PhantomData, |
| 111 | } |
| 112 | } |
| 113 | } |
| 114 | |
| 115 | /// Get input slice. |
| 116 | #[inline(always)] |
nothing calls this directly
no outgoing calls
no test coverage detected