Trait libreda_pnr::place::placement_solution::db::LayoutStreamWriter
source · pub trait LayoutStreamWriter {
type Error;
// Required method
fn write_layout<W, L>(
&self,
writer: &mut W,
layout: &L
) -> Result<(), Self::Error>
where W: Write,
L: LayoutBase<Coord = i32>;
}
Expand description
Trait for writing a layout to a byte stream.
Required Associated Types§
Required Methods§
sourcefn write_layout<W, L>(
&self,
writer: &mut W,
layout: &L
) -> Result<(), Self::Error>where
W: Write,
L: LayoutBase<Coord = i32>,
fn write_layout<W, L>( &self, writer: &mut W, layout: &L ) -> Result<(), Self::Error>where W: Write, L: LayoutBase<Coord = i32>,
Write the layout data structure to a byte stream.