Skip to main content

write_as

Function write_as 

Source
pub fn write_as(net: &Network, format: TargetFormat) -> Conversion
Expand description

Convert a Network to format. Writing back to the source format returns the retained source text; otherwise the network is serialized into the target.