#[repr(C)]pub struct SLMIDIMessageItf_ {
pub SendMessage: Option<unsafe extern "C" fn(self_: SLMIDIMessageItf, data: *const SLuint8, length: SLuint32) -> SLresult>,
pub RegisterMetaEventCallback: Option<unsafe extern "C" fn(self_: SLMIDIMessageItf, callback: slMetaEventCallback, pContext: *mut c_void) -> SLresult>,
pub RegisterMIDIMessageCallback: Option<unsafe extern "C" fn(self_: SLMIDIMessageItf, callback: slMIDIMessageCallback, pContext: *mut c_void) -> SLresult>,
pub AddMIDIMessageCallbackFilter: Option<unsafe extern "C" fn(self_: SLMIDIMessageItf, messageType: SLuint32) -> SLresult>,
pub ClearMIDIMessageCallbackFilter: Option<unsafe extern "C" fn(self_: SLMIDIMessageItf) -> SLresult>,
}Fields§
§SendMessage: Option<unsafe extern "C" fn(self_: SLMIDIMessageItf, data: *const SLuint8, length: SLuint32) -> SLresult>§RegisterMetaEventCallback: Option<unsafe extern "C" fn(self_: SLMIDIMessageItf, callback: slMetaEventCallback, pContext: *mut c_void) -> SLresult>§RegisterMIDIMessageCallback: Option<unsafe extern "C" fn(self_: SLMIDIMessageItf, callback: slMIDIMessageCallback, pContext: *mut c_void) -> SLresult>§AddMIDIMessageCallbackFilter: Option<unsafe extern "C" fn(self_: SLMIDIMessageItf, messageType: SLuint32) -> SLresult>§ClearMIDIMessageCallbackFilter: Option<unsafe extern "C" fn(self_: SLMIDIMessageItf) -> SLresult>Trait Implementations§
Source§impl Clone for SLMIDIMessageItf_
impl Clone for SLMIDIMessageItf_
Source§fn clone(&self) -> SLMIDIMessageItf_
fn clone(&self) -> SLMIDIMessageItf_
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SLMIDIMessageItf_
impl Debug for SLMIDIMessageItf_
impl Copy for SLMIDIMessageItf_
Auto Trait Implementations§
impl Freeze for SLMIDIMessageItf_
impl RefUnwindSafe for SLMIDIMessageItf_
impl Send for SLMIDIMessageItf_
impl Sync for SLMIDIMessageItf_
impl Unpin for SLMIDIMessageItf_
impl UnwindSafe for SLMIDIMessageItf_
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