Skip to main content

Module prelude

Structs§

BoundingBox
A bounding box in 2D space. This is the result of “drawing” operations on our canvas, and what the server reports back to the client. These bounds are sufficient to contain all of the lines (inclusive) on a canvas at a given time.
Instance
The type corresponding to the Instance protocol. Manages a single instance of a canvas. Each session of this protocol is responsible for a new canvas.
InstanceAddLineRequest
InstanceAddLineResponse

Traits§

InstanceClientHandler
A client handler for the Instance protocol.
InstanceServerHandler
A server handler for the Instance protocol.