Struct fxbox_thinkerbell::ast::Rule
[−]
[src]
pub struct Rule<Ctx> where Ctx: Context {
pub conditions: Vec<Match<Ctx>>,
pub execute: Vec<Statement<Ctx>>,
pub phantom: Phantom<Ctx>,
}
A single rule, i.e. "when some condition becomes true, do something".
Fields
conditions | The condition in which to execute the trigger. The condition
is matched once all the |
execute | Stuff to do once |
phantom |