Consumes characters until we have a layer ID
(next_chr: char, param: String)
| 1217 | /// Consumes characters until we have a layer ID |
| 1218 | /// |
| 1219 | fn decode_layer_id(next_chr: char, param: String) -> Result<PartialResult<LayerId>, DecoderError> { |
| 1220 | Self::decode_compact_id(next_chr, param) |
| 1221 | .map(|id| id.map(|id| LayerId(id))) |
| 1222 | } |
| 1223 | |
| 1224 | /// |
| 1225 | /// Consumes characters until we have a font ID |