Trait ExprGeneratorSync

Source
pub trait ExprGeneratorSync<E> {
    // Required method
    fn generate(&mut self, expr: &ESExpr<'_>) -> Result<(), GeneratorError<E>>;
}
Expand description

Defines ESExpr generation for binary file format

Required Methods§

Source

fn generate(&mut self, expr: &ESExpr<'_>) -> Result<(), GeneratorError<E>>

Generate output for an expression

§Errors

Returns Err if an error occurs during generation.

Implementors§

Source§

impl<'a, E: 'static, W: Write<E>> ExprGeneratorWrite<E> for ExprGenerator<'a, W, E>