pub trait Expression {
// Required method
fn write(&self, b: &mut CodeBuffer);
// Provided method
fn to_code(&self) -> String { ... }
}Expand description
Code within a single line.
Required Methods§
Sourcefn write(&self, b: &mut CodeBuffer)
fn write(&self, b: &mut CodeBuffer)
Writes the code to the buffer b.