Find the number of bytes that this type occupies in memory.
(&self)
| 55 | |
| 56 | /// Find the number of bytes that this type occupies in memory. |
| 57 | pub fn membytes(&self) -> u64 { |
| 58 | self.width() / 8 |
| 59 | } |
| 60 | |
| 61 | /// Find the unique number associated with this type. |
| 62 | pub fn number(&self) -> u16 { |
no test coverage detected