(var: &T, offset: isize)
| 169 | } |
| 170 | |
| 171 | pub fn stack_read_offset<T: Copy, U: Copy>(var: &T, offset: isize) -> U { |
| 172 | unsafe { |
| 173 | let ptr = (var as *const T as *const u8).offset(offset); |
| 174 | *(ptr as *const U) |
| 175 | } |
| 176 | } |
nothing calls this directly
no outgoing calls
no test coverage detected