[−][src]Enum midistream::SimpleMsg
A standard, short MIDI message.
Variants
NoteOff(Note)
NoteOn(Note)
PolyKeyPressure(Note)
ControlChange(Control)
ProgramChange(ChannelValue)
ChannelKeyPressure(ChannelValue)
PitchBendChange(PitchBend)
MTCQuarterFrame(U7)
SongPositionPointer(U14)
SongSelect(U7)
Implementations
impl SimpleMsg
[src]
pub fn encode<R, F: FnOnce(&[u8]) -> R>(&self, f: F) -> R
[src]
pub fn all_sound_off<C: Into<Channel>>(c: C) -> SimpleMsg
[src]
pub fn reset_all_controllers<C: Into<Channel>>(c: C) -> SimpleMsg
[src]
pub fn local_control<C: Into<Channel>>(c: C, value: bool) -> SimpleMsg
[src]
pub fn all_notes_off<C: Into<Channel>>(c: C) -> SimpleMsg
[src]
pub fn omni_off<C: Into<Channel>>(c: C) -> SimpleMsg
[src]
pub fn omni_on<C: Into<Channel>>(c: C) -> SimpleMsg
[src]
pub fn mono_mode<C: Into<Channel>, V: Into<U7>>(c: C, value: V) -> SimpleMsg
[src]
pub fn poly_mode<C: Into<Channel>>(c: C) -> SimpleMsg
[src]
pub fn note_on<C: Into<Channel>, N: Into<U7>, V: Into<U7>>(
c: C,
n: N,
v: V
) -> SimpleMsg
[src]
c: C,
n: N,
v: V
) -> SimpleMsg
pub fn note_off<C: Into<Channel>, N: Into<U7>, V: Into<U7>>(
c: C,
n: N,
v: V
) -> SimpleMsg
[src]
c: C,
n: N,
v: V
) -> SimpleMsg
pub fn poly_key_pressure<C: Into<Channel>, N: Into<U7>, V: Into<U7>>(
c: C,
n: N,
v: V
) -> SimpleMsg
[src]
c: C,
n: N,
v: V
) -> SimpleMsg
pub fn control_change<C: Into<Channel>, Z: Into<U7>, V: Into<U7>>(
c: C,
z: Z,
v: V
) -> SimpleMsg
[src]
c: C,
z: Z,
v: V
) -> SimpleMsg
pub fn program_change<C: Into<Channel>, V: Into<U7>>(c: C, v: V) -> SimpleMsg
[src]
pub fn channel_key_pressure<C: Into<Channel>, V: Into<U7>>(
c: C,
v: V
) -> SimpleMsg
[src]
c: C,
v: V
) -> SimpleMsg
pub fn pitch_bend_change<C: Into<Channel>, V: Into<U14>>(
c: C,
v: V
) -> SimpleMsg
[src]
c: C,
v: V
) -> SimpleMsg
Trait Implementations
impl Clone for SimpleMsg
[src]
impl Copy for SimpleMsg
[src]
impl Debug for SimpleMsg
[src]
impl Eq for SimpleMsg
[src]
impl From<SimpleMsg> for Msg
[src]
impl Ord for SimpleMsg
[src]
fn cmp(&self, other: &SimpleMsg) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<SimpleMsg> for SimpleMsg
[src]
impl PartialOrd<SimpleMsg> for SimpleMsg
[src]
fn partial_cmp(&self, other: &SimpleMsg) -> Option<Ordering>
[src]
fn lt(&self, other: &SimpleMsg) -> bool
[src]
fn le(&self, other: &SimpleMsg) -> bool
[src]
fn gt(&self, other: &SimpleMsg) -> bool
[src]
fn ge(&self, other: &SimpleMsg) -> bool
[src]
impl StructuralEq for SimpleMsg
[src]
impl StructuralPartialEq for SimpleMsg
[src]
Auto Trait Implementations
impl RefUnwindSafe for SimpleMsg
impl Send for SimpleMsg
impl Sync for SimpleMsg
impl Unpin for SimpleMsg
impl UnwindSafe for SimpleMsg
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,