Skip to main content
Crate fidl_next_examples_canvas_baseline
fidl_
next_
examples_
canvas_
baseline
All Items
Crate Items
Modules
Structs
Traits
Type Aliases
Crate
fidl_
next_
examples_
canvas_
baseline
Copy item path
Source
Re-exports
§
pub use self::
natural
::*;
Modules
§
compat
Compatibility shims which mimic some API surfaces of the current Rust bindings.
generic
instance
natural
wire
wire_
optional
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
Point
A point in 2D space.
Traits
§
Instance
Client
Handler
A client handler for the Instance protocol.
Instance
Server
Handler
A server handler for the Instance protocol.
Type Aliases
§
Line
A line in 2D space.