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§
Required Methods§
Sourcefn write_netlist<W: Write, N: NetlistBase>(
&self,
writer: &mut W,
netlist: &N,
) -> Result<(), Self::Error>
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.