Enum rrise::AkMIDIEvent
source · [−]pub enum AkMIDIEvent {
Cc(AkMidiChannelNo, AkMIDIEvent_tCc),
ChanAftertouch(AkMidiChannelNo, AkMIDIEvent_tChanAftertouch),
Gen(AkMidiChannelNo, AkMIDIEvent_tGen),
NoteAftertouch(AkMidiChannelNo, AkMIDIEvent_tNoteAftertouch),
NoteOn(AkMidiChannelNo, AkMIDIEvent_tNoteOnOff),
NoteOff(AkMidiChannelNo, AkMIDIEvent_tNoteOnOff),
PitchBend(AkMidiChannelNo, AkMIDIEvent_tPitchBend),
ProgramChange(AkMidiChannelNo, AkMIDIEvent_tProgramChange),
WwiseCmd(AkMidiChannelNo, AkMIDIEvent_tWwiseCmd),
}Expand description
Description of a MIDI event
Variants
Cc(AkMidiChannelNo, AkMIDIEvent_tCc)
Controller event
ChanAftertouch(AkMidiChannelNo, AkMIDIEvent_tChanAftertouch)
Channel after touch event
Gen(AkMidiChannelNo, AkMIDIEvent_tGen)
Generic event (ie, if no other variant apply)
NoteAftertouch(AkMidiChannelNo, AkMIDIEvent_tNoteAftertouch)
Note after touch event
NoteOn(AkMidiChannelNo, AkMIDIEvent_tNoteOnOff)
Note became On event
NoteOff(AkMidiChannelNo, AkMIDIEvent_tNoteOnOff)
Note became Off event
PitchBend(AkMidiChannelNo, AkMIDIEvent_tPitchBend)
Pitch bent event
ProgramChange(AkMidiChannelNo, AkMIDIEvent_tProgramChange)
Program change event
WwiseCmd(AkMidiChannelNo, AkMIDIEvent_tWwiseCmd)
Wwise command event
Implementations
sourceimpl AkMIDIEvent
impl AkMIDIEvent
pub fn is_wwise_cmd(&self) -> bool
pub fn is_wwise_cmd_play(&self) -> bool
pub fn is_wwise_cmd_pause(&self) -> bool
pub fn is_wwise_cmd_stop(&self) -> bool
pub fn is_wwise_cmd_resume(&self) -> bool
pub fn is_wwise_cmd_seek_ms(&self) -> bool
pub fn is_wwise_cmd_seek_samples(&self) -> bool
pub fn is_wwise_cmd_seek(&self) -> bool
pub fn is_wwise_cmd_known(&self) -> bool
pub fn is_note_on(&self) -> bool
pub fn is_note_off(&self) -> bool
Trait Implementations
sourceimpl Clone for AkMIDIEvent
impl Clone for AkMIDIEvent
sourcefn clone(&self) -> AkMIDIEvent
fn clone(&self) -> AkMIDIEvent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for AkMIDIEvent
impl Debug for AkMIDIEvent
impl Copy for AkMIDIEvent
Auto Trait Implementations
impl RefUnwindSafe for AkMIDIEvent
impl Send for AkMIDIEvent
impl Sync for AkMIDIEvent
impl Unpin for AkMIDIEvent
impl UnwindSafe for AkMIDIEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more