Consumes characters until we have a texture ID
(next_chr: char, param: String)
| 1233 | /// Consumes characters until we have a texture ID |
| 1234 | /// |
| 1235 | fn decode_texture_id(next_chr: char, param: String) -> Result<PartialResult<TextureId>, DecoderError> { |
| 1236 | Self::decode_compact_id(next_chr, param) |
| 1237 | .map(|id| id.map(|id| TextureId(id))) |
| 1238 | } |
| 1239 | |
| 1240 | /// |
| 1241 | /// Consumes characters until we have a gradient ID |