(self)
| 50 | |
| 51 | impl PointerWidth { |
| 52 | pub fn bits(self) -> u8 { |
| 53 | match self { |
| 54 | PointerWidth::PointerWidth32 => 32, |
| 55 | PointerWidth::PointerWidth64 => 64, |
| 56 | } |
| 57 | } |
| 58 | |
| 59 | pub fn bytes(self) -> u8 { |
| 60 | self.bits() / 8 |
no outgoing calls
no test coverage detected