pub trait WithCondition {
    // Required method
    fn condition(&self) -> &Box<dyn Expression>;

    // Provided method
    fn write_condition(&self, b: &mut CodeBuffer) { ... }
}
Expand description

An element with a condition expression.

Required Methods§

source

fn condition(&self) -> &Box<dyn Expression>

Gets the condition.

Provided Methods§

source

fn write_condition(&self, b: &mut CodeBuffer)

Writes the condition.

Implementors§