(&mut self, length: usize)
| 98 | } |
| 99 | |
| 100 | pub fn as_mut_slice<T>(&mut self, length: usize) -> &mut [T] { |
| 101 | unsafe{slice::from_raw_parts_mut( |
| 102 | self.as_mut_ptr::<T>(), |
| 103 | length)} |
| 104 | } |
| 105 | |
| 106 | /// Get the virtual address of the start of the memory region |
| 107 | pub fn as_u64(&self) -> u64 { |
no outgoing calls
no test coverage detected