pub trait LayoutStreamWriter {
    type Error;
    fn write_layout<W, L>(
        writer: &mut W,
        layout: &L
    ) -> Result<(), Self::Error>
        W: Write,
        L: LayoutBase<Coord = i32>
; }
Expand description

Trait for writing a layout to a byte stream.

Associated Types

Type of error that could happen while writing a layout.

Required methods

Write the layout data structure to a byte stream.