pub enum PatchbayEvent {
AutomatonUpdated {
id: String,
value: f64,
time: f64,
},
MappingTriggered {
pattern: String,
target: String,
value: f32,
},
CommandSent(SetParameter),
Error(String),
}Expand description
Events emitted by the patchbay manager for logging and debugging.
Variants§
AutomatonUpdated
An automaton was updated with a new value.
MappingTriggered
A mapping was triggered by an incoming event.
Fields
CommandSent(SetParameter)
A command was sent to the audio thread.
Error(String)
An error occurred.
Trait Implementations§
Source§impl Clone for PatchbayEvent
impl Clone for PatchbayEvent
Source§fn clone(&self) -> PatchbayEvent
fn clone(&self) -> PatchbayEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PatchbayEvent
impl RefUnwindSafe for PatchbayEvent
impl Send for PatchbayEvent
impl Sync for PatchbayEvent
impl Unpin for PatchbayEvent
impl UnsafeUnpin for PatchbayEvent
impl UnwindSafe for PatchbayEvent
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