Skip to main content

Module svg_payload

Module svg_payload 

Source
Expand description

An SVG payload in a format a human reads: its own source text, verbatim, so the document stays greppable and an artwork diff reads as the drawing it is. Every construction site builds one from a String (crate::block_model::Asset’s callers read SVG as text), so the bytes are UTF-8 and the encode cannot fail in practice.

Functions§

deserialize
serialize