Enum hexodsp::nodes::GraphMessage
source · [−]pub enum GraphMessage {
NewProg {
prog: NodeProg,
copy_old_out: bool,
},
Clear {
prog: NodeProg,
},
AtomUpdate {
at_idx: usize,
value: SAtom,
},
ParamUpdate {
input_idx: usize,
value: f32,
},
ModamtUpdate {
mod_idx: usize,
modamt: f32,
},
InjectMidi {
midi_ev: HxMidiEvent,
},
SetMonitor {
bufs: [usize; 6],
},
}
Expand description
Messages for updating the NodeExecutor thread. Usually used for shoveling NodeProg and Nodes to and from the NodeExecutor thread. And also parameter updates of course.
Variants
NewProg
Clear
Fields
prog: NodeProg
AtomUpdate
ParamUpdate
ModamtUpdate
InjectMidi
Fields
midi_ev: HxMidiEvent
SetMonitor
Sets the buffer indices to monitor with the FeedbackProcessor.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for GraphMessage
impl Send for GraphMessage
impl Sync for GraphMessage
impl Unpin for GraphMessage
impl !UnwindSafe for GraphMessage
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more