Skip to main content

Crate fidl_next_examples_canvas_addlinemetered

Crate fidl_next_examples_canvas_addlinemetered 

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§

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
Point
A point in 2D space.

Traits§

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

Type Aliases§

Line
A line in 2D space.