Trait Statement

Source
pub trait Statement {
    // Required method
    fn write(&self, b: &mut CodeBuffer, level: usize);
}
Expand description

Code that spans one or more lines.

Required Methods§

Source

fn write(&self, b: &mut CodeBuffer, level: usize)

Writes the code to the buffer b at the indent level.

Implementors§