pub struct ProgramBuilder<V: ProgramVars, M: ProgramMeta> {
pub name: String,
pub initial_vars: V,
pub macros: HashMap<String, String>,
pub state_set_fns: Vec<StateSetFn<V>>,
/* private fields */
}Expand description
Builder for constructing and running a sequencer program.
Fields§
§name: String§initial_vars: V§macros: HashMap<String, String>§state_set_fns: Vec<StateSetFn<V>>Implementations§
Source§impl<V: ProgramVars, M: ProgramMeta> ProgramBuilder<V, M>
impl<V: ProgramVars, M: ProgramMeta> ProgramBuilder<V, M>
Auto Trait Implementations§
impl<V, M> Freeze for ProgramBuilder<V, M>where
V: Freeze,
impl<V, M> !RefUnwindSafe for ProgramBuilder<V, M>
impl<V, M> Send for ProgramBuilder<V, M>where
M: Send,
impl<V, M> Sync for ProgramBuilder<V, M>where
M: Sync,
impl<V, M> Unpin for ProgramBuilder<V, M>
impl<V, M> UnsafeUnpin for ProgramBuilder<V, M>where
V: UnsafeUnpin,
impl<V, M> !UnwindSafe for ProgramBuilder<V, M>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more