Skip to main content
Module prelude
fidl_
next_
examples_
canvas_
addlinemetered
Module prelude
Module Items
Structs
Traits
In fidl_
next_
examples_
canvas_
addlinemetered::
instance
fidl_next_examples_canvas_addlinemetered
::
instance
Module
prelude
Copy item path
Source
Structs
§
Bounding
Box
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.
Instance
AddLine
Request
Instance
AddLine
Response
Traits
§
Instance
Client
Handler
A client handler for the Instance protocol.
Instance
Server
Handler
A server handler for the Instance protocol.