NetlistWriter

Trait NetlistWriter 

Source
pub trait NetlistWriter {
    type Error;

    // Required method
    fn write_netlist<W: Write, N: NetlistBase>(
        &self,
        writer: &mut W,
        netlist: &N,
    ) -> Result<(), Self::Error>;
}
Expand description

Write a netlist to a byte stream.

Required Associated Types§

Source

type Error

Type of error that could happen while writing a netlist.

Required Methods§

Source

fn write_netlist<W: Write, N: NetlistBase>( &self, writer: &mut W, netlist: &N, ) -> Result<(), Self::Error>

Write the netlist data structure to a byte stream.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§