concept svg in category rust

appears as: n SVG
Rust in Action

This is an excerpt from Manning's book Rust in Action.

The convert() function makes use of the Artist struct. Its role is to convert the Vec<Operation> from parse() to a Vec<Command>. That output that will be used later to generate an SVG. As a nod to the LOGO language, the Artist is given the local variable name turtle.