var searchIndex = {}; searchIndex["drawille"] = {"doc":"`drawille` – a terminal graphics library for Rust, based on the Python library\n[drawille](https://github.com/asciimoo/drawille).","items":[[3,"Canvas","drawille","A canvas object that can be used to draw to the terminal using Braille characters.",null,null],[3,"Turtle","","A ‘turtle’ that can walk around a canvas drawing lines.",null,null],[12,"x","","",0,null],[12,"y","","",0,null],[12,"brush","","",0,null],[12,"rotation","","",0,null],[12,"cvs","","",0,null],[11,"eq","","",1,null],[11,"ne","","",1,null],[11,"fmt","","",1,null],[11,"clone","","",1,null],[11,"new","","Creates a new `Canvas` with the given width and height.",1,{"inputs":[{"name":"usize"},{"name":"usize"}],"output":{"name":"canvas"}}],[11,"clear","","Clears the canvas.",1,null],[11,"set","","Sets a pixel at the specified coordinates.",1,null],[11,"unset","","Deletes a pixel at the specified coordinates.",1,null],[11,"toggle","","Toggles a pixel at the specified coordinates.",1,null],[11,"get","","Detects whether the pixel at the given coordinates is set.",1,null],[11,"rows","","Returns a `Vec` of each row of the `Canvas`.",1,null],[11,"frame","","Draws the canvas to a `String` and returns it.",1,null],[11,"line","","Draws a line from `(x1, y1)` to `(x2, y2)` onto the `Canvas`.",1,null],[11,"new","","Create a new `Turtle`, starting at the given coordinates.",0,{"inputs":[{"name":"f32"},{"name":"f32"}],"output":{"name":"turtle"}}],[11,"from_canvas","","Creates a new `Turtle` with the provided `Canvas`, starting at the given coordinates.",0,{"inputs":[{"name":"f32"},{"name":"f32"},{"name":"canvas"}],"output":{"name":"turtle"}}],[11,"width","","Sets the width of a `Turtle`’s `Canvas`, and return it for use again.",0,null],[11,"height","","Sets the height of a `Turtle`’s `Canvas`, and return it for use again.",0,null],[11,"up","","Lifts the `Turtle`’s brush.",0,null],[11,"down","","Puts down the `Turtle`’s brush.",0,null],[11,"toggle","","Toggles the `Turtle`’s brush.",0,null],[11,"forward","","Moves the `Turtle` forward by `dist` steps.",0,null],[11,"back","","Moves the `Turtle` backward by `dist` steps.",0,null],[11,"teleport","","Teleports the `Turtle` to the given coordinates.",0,null],[11,"right","","Turns the `Turtle` right (clockwise) by `angle` degrees.",0,null],[11,"left","","Turns the `Turtle` left (clockwise) by `angle` degrees.",0,null],[11,"frame","","Writes the `Turtle`’s `Canvas` to a `String` and returns it.",0,null]],"paths":[[3,"Turtle"],[3,"Canvas"]]}; initSearch(searchIndex);