Struct sauron_core::dom::cmd::Cmd [−][src]
Expand description
Cmd is a command to be executed by the system. This is returned at the init function of a component and is executed right after instantiation of that component. Cmd required a DSP object which is the Program as an argument The emit function is called with the program argument. The callback is supplied with the program an is then executed/emitted.
Tuple Fields
0: Vec<Rc<dyn Fn(DSP)>>
Implementations
creates a unified Cmd which batches all the other Cmds in one.