(self)
| 78 | |
| 79 | impl CFloatType { |
| 80 | const fn case(self) -> Case { |
| 81 | use CFloatType::*; |
| 82 | |
| 83 | match self { |
| 84 | ExponentLower | PointDecimalLower | GeneralLower => Case::Lower, |
| 85 | ExponentUpper | PointDecimalUpper | GeneralUpper => Case::Upper, |
| 86 | } |
| 87 | } |
| 88 | } |
| 89 | |
| 90 | #[derive(Debug, PartialEq, Clone, Copy)] |