Consumes characters until we have a font ID
(next_chr: char, param: String)
| 1225 | /// Consumes characters until we have a font ID |
| 1226 | /// |
| 1227 | fn decode_font_id(next_chr: char, param: String) -> Result<PartialResult<FontId>, DecoderError> { |
| 1228 | Self::decode_compact_id(next_chr, param) |
| 1229 | .map(|id| id.map(|id| FontId(id))) |
| 1230 | } |
| 1231 | |
| 1232 | /// |
| 1233 | /// Consumes characters until we have a texture ID |