Get the minimum number of bits used to represent this type.
(self)
| 301 | |
| 302 | /// Get the minimum number of bits used to represent this type. |
| 303 | pub fn min_bits(self) -> u32 { |
| 304 | if self.is_dynamic_vector() { |
| 305 | self.lane_bits() * self.min_lane_count() |
| 306 | } else { |
| 307 | self.bits() |
| 308 | } |
| 309 | } |
| 310 | |
| 311 | /// Get the number of bytes used to store this type in memory. |
| 312 | pub fn bytes(self) -> u32 { |
nothing calls this directly
no test coverage detected