(&self)
| 138 | impl CConversionFlags { |
| 139 | #[inline] |
| 140 | pub const fn sign_string(&self) -> &'static str { |
| 141 | if self.contains(Self::SIGN_CHAR) { |
| 142 | "+" |
| 143 | } else if self.contains(Self::BLANK_SIGN) { |
| 144 | " " |
| 145 | } else { |
| 146 | "" |
| 147 | } |
| 148 | } |
| 149 | } |
| 150 | |
| 151 | #[derive(Debug, PartialEq, Clone, Copy)] |
no test coverage detected