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

Interface CanvasEncoding

canvas/src/encoding.rs:12–17  ·  view source on GitHub ↗

Trait implemented by objects that can be encoded into a canvas

Source from the content-addressed store, hash-verified

10/// Trait implemented by objects that can be encoded into a canvas
11///
12pub trait CanvasEncoding<Buffer> {
13 ///
14 /// Encodes this item by appending it to the specified string
15 ///
16 fn encode_canvas(&self, append_to: &mut Buffer);
17}
18
19pub (crate) const ENCODING_CHAR_SET: [char; 64] = [
20 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z',

Callers

nothing calls this directly

Implementers 1

encoding.rscanvas/src/encoding.rs

Calls

no outgoing calls

Tested by

no test coverage detected