Struct fxbox_thinkerbell::ast::Statement
[−]
[src]
pub struct Statement<Ctx> where Ctx: Context {
pub destination: Vec<SetSelector>,
pub value: Value,
pub kind: ChannelKind,
pub phantom: Phantom<Ctx>,
}
Stuff to actually do. In practice, this means placing calls to devices.
Fields
destination | The set of outputs to which to send a command. Note that the set of outputs may change (e.g. when devices are added/removed) without rebooting the script. |
value | Data to send to the resource. During compilation, we check
that the type of |
kind | The kind of channel expected from |
phantom |