(&self, input: &str)
| 192 | } |
| 193 | |
| 194 | pub fn encode(&self, input: &str) -> Result<MetaString, Error> { |
| 195 | if let Some(ms) = self._encode(input)? { |
| 196 | return Ok(ms); |
| 197 | } |
| 198 | let encoding = self.compute_encoding(input, None); |
| 199 | self.encode_with_encoding(input, encoding) |
| 200 | } |
| 201 | |
| 202 | pub fn encode_with_encodings( |
| 203 | &self, |
nothing calls this directly
no test coverage detected