Enum xsynth_core::channel_group::SynthEvent
source · pub enum SynthEvent {
Channel(u32, ChannelAudioEvent),
AllChannels(ChannelAudioEvent),
ChannelConfig(ChannelConfigEvent),
}Expand description
Wrapper enum for various events to be sent to a MIDI synthesizer.
Variants§
Channel(u32, ChannelAudioEvent)
An audio event to be sent to the specified channel.
See ChannelAudioEvent documentation for more information.
AllChannels(ChannelAudioEvent)
An audio event to be sent to all available channels.
See ChannelAudioEvent documentation for more information.
ChannelConfig(ChannelConfigEvent)
Configuration event for all channels.
See ChannelConfigEvent documentation for more information.
Auto Trait Implementations§
impl Freeze for SynthEvent
impl !RefUnwindSafe for SynthEvent
impl Send for SynthEvent
impl Sync for SynthEvent
impl Unpin for SynthEvent
impl !UnwindSafe for SynthEvent
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