(&self)
| 63 | |
| 64 | impl ValueType { |
| 65 | fn width(&self) -> usize { |
| 66 | match *self { |
| 67 | ValueType::Float | ValueType::Int | ValueType::Uint => 8, |
| 68 | ValueType::Byte | ValueType::Bool => 1, |
| 69 | } |
| 70 | } |
| 71 | } |
| 72 | |
| 73 | #[derive(Debug, Clone, Copy)] |
no outgoing calls
no test coverage detected