pub trait WithVar {
// Required method
fn var(&self) -> &Var;
// Provided method
fn write_var(&self, b: &mut CodeBuffer) { ... }
}Expand description
An element with a variable.
Required Methods§
Provided Methods§
Sourcefn write_var(&self, b: &mut CodeBuffer)
fn write_var(&self, b: &mut CodeBuffer)
Writes the variable.