Get the total number of bits used to represent this type.
(self)
| 282 | |
| 283 | /// Get the total number of bits used to represent this type. |
| 284 | pub fn bits(self) -> u32 { |
| 285 | if self.is_dynamic_vector() { |
| 286 | 0 |
| 287 | } else { |
| 288 | self.lane_bits() * self.lane_count() |
| 289 | } |
| 290 | } |
| 291 | |
| 292 | /// Get the minimum of lanes in this SIMD vector type, this supports both fixed and |
| 293 | /// dynamic types. |
no test coverage detected