Returns the flat count of this ABI information so long as the count doesn't exceed the `max` specified.
(&self, max: usize)
| 899 | /// Returns the flat count of this ABI information so long as the count |
| 900 | /// doesn't exceed the `max` specified. |
| 901 | pub fn flat_count(&self, max: usize) -> Option<usize> { |
| 902 | let flat = usize::from(self.flat_count?); |
| 903 | if flat > max { None } else { Some(flat) } |
| 904 | } |
| 905 | } |
| 906 | |
| 907 | /// ABI information about the representation of a variant. |
no test coverage detected