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

Method decode_font_id

canvas/src/decoding.rs:1227–1230  ·  view source on GitHub ↗

Consumes characters until we have a font ID

(next_chr: char, param: String)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

FontIdClass · 0.85
mapMethod · 0.80

Tested by

no test coverage detected