TrackEvent.asSysExEvent

  1. inout(MIDIEvent)* asMIDIEvent()
  2. inout(SysExEvent)* asSysExEvent()
    struct TrackEvent
    inout return @nogc nothrow pure @safe
    inout(SysExEvent)*
    asSysExEvent
    ()
  3. inout(MetaEvent)* asMetaEvent()

Return Value

Type: inout(SysExEvent)*

a pointer to the underlying MIDIEvent, SysExEvent or MetaEvent if the object is of that variety; null otherwise

Note: do not reassign the TrackEvent object while still having a reference to the object in the union.

Meta