[][src]Struct reaper_medium::MidiEvent

pub struct MidiEvent<'a>(_);

A MIDI event borrowed from REAPER.

Implementations

impl<'a> MidiEvent<'a>[src]

pub fn frame_offset(&self) -> u32[src]

Returns the frame offset.

Unit: 1/1024000 of a second, not sample frames!

pub fn message(&self) -> MidiMessage<'a>[src]

Returns the actual message.

Trait Implementations

impl<'a> Clone for MidiEvent<'a>[src]

impl<'a> Copy for MidiEvent<'a>[src]

impl<'a> Debug for MidiEvent<'a>[src]

impl<'a> Eq for MidiEvent<'a>[src]

impl<'a> Hash for MidiEvent<'a>[src]

impl<'a> PartialEq<MidiEvent<'a>> for MidiEvent<'a>[src]

impl<'a> StructuralEq for MidiEvent<'a>[src]

impl<'a> StructuralPartialEq for MidiEvent<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for MidiEvent<'a>

impl<'a> Send for MidiEvent<'a>

impl<'a> Sync for MidiEvent<'a>

impl<'a> Unpin for MidiEvent<'a>

impl<'a> UnwindSafe for MidiEvent<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.