pub trait Generate {
    fn generate<W: Write>(
        &self,
        writer: W,
        symgen: &SymGen,
        version: &str
    ) -> Result<(), Box<dyn Error>>; fn generate_str(
        &self,
        symgen: &SymGen,
        version: &str
    ) -> Result<String, Box<dyn Error>> { ... } }
Expand description

Generate implementers can convert a SymGen into a different data format.

Required Methods

Write the contents of symgen for version to writer in the desired format.

Provided Methods

Write the contents of symgen for version to a String.

Implementors