The total size of this allocation, free and used.
(&self)
| 81 | |
| 82 | /// The total size of this allocation, free and used. |
| 83 | pub fn bytes_total(&self) -> usize { |
| 84 | unsafe { self.top.offset_from(self.bottom) as usize } |
| 85 | } |
| 86 | |
| 87 | /// Creates a new PoolAlloc of a specific size. |
| 88 | pub fn new(size_in_bytes: usize) -> PoolAlloc { |
no outgoing calls
no test coverage detected