Skip to main content

Module gesture

Module gesture 

Source
Expand description

The gesture bracket: what a gesture is, stated once.

Everything written between Gesture::open and seal lands in one commit — the solve rider completes it, the seal decides whether there is anything to say, and the repo folds it.

Structs§

Gesture
The ops a gesture has authored, and the document they imply.
Sealed
What a sealed gesture hands back: the commit, and the rectangle it disturbed — so the reconstruction that follows can be confined to it rather than re-deriving every wire in the document.
Staged 🔒

Functions§

drawing
The current scope, over the gesture’s view of the repo’s document.
seal
Finish the gesture: run the solve rider over what it wrote and seal it, leaving gesture open on a fresh idle one. None when it authored nothing.
vacated_footprints 🔒
Where the shapes a gesture moved were, before it moved them. A wire the departing footprint was blocking may now run straight, and only the pre-gesture document still knows where that footprint was.