MCPcopy Create free account
hub / github.com/Logicalshift/flo_draw / decode_layer_id

Method decode_layer_id

canvas/src/decoding.rs:1219–1222  ·  view source on GitHub ↗

Consumes characters until we have a layer ID

(next_chr: char, param: String)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

LayerIdClass · 0.85
mapMethod · 0.80

Tested by

no test coverage detected