Function flo_canvas::decode_drawing
source · pub fn decode_drawing<In: IntoIterator<Item = char>>(
source: In
) -> impl Iterator<Item = Result<Draw, DecoderError>>
Expand description
Decodes a canvas drawing represented as an iterator of characters. If there’s an error in the stream, it will be the last item decoded.